This repository was archived by the owner on Sep 18, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
- (defproject event-data-common " 0.1.59 "
1
+ (defproject event-data-common " 0.1.60 "
2
2
:description " Crossref Event Data Common"
3
3
:url " http://eventdata.crossref.org"
4
4
:license {:name " The MIT License (MIT)"
Original file line number Diff line number Diff line change 15
15
(delay
16
16
(KafkaProducer. {
17
17
" bootstrap.servers" (:global-kafka-bootstrap-servers env)
18
- " acks" " all"
18
+ ; Make sure it's flushed on the broker, but don't wait for all replicas.
19
+ ; This is more robust if one replica stops working.
20
+ " acks" " 1"
19
21
" retries" (int 5 )
20
22
" key.serializer" " org.apache.kafka.common.serialization.StringSerializer"
21
23
" value.serializer" " org.apache.kafka.common.serialization.StringSerializer" })))
Original file line number Diff line number Diff line change 49
49
(.build ))]
50
50
(str new-uri))
51
51
52
+ ; This can happen because the URL isn't a vailid URI, e.g. illegal chars in fragment.
53
+ ; No big deal, this is best-effort.
52
54
(catch Exception ex
53
55
(do
54
- (log/error " Failed to remove tracking params" url)
56
+ (log/info " Failed to remove tracking params" url)
55
57
url))))
You can’t perform that action at this time.
0 commit comments