Commit Graph

24 Commits

Author SHA1 Message Date
accelerated
ffc64b9a5a Remove valgrind warning 2018-05-29 10:05:56 -04:00
accelerated
556f15a43f Allow access to the user-supplied delivery callback. 2018-05-29 09:59:19 -04:00
Alex Damian
429ec92369 Buffered producer thread safe (#72)
* Thread safe buffered producer

* Using single mutex version

* Changed based on feedback

* Changes based on latest review

* Added flush counter
2018-05-28 18:33:36 -07:00
Alex Damian
841e632fbd Allow access to the user-supplied delivery callback. (#66)
* Allow access to the user-supplied delivery callback.

* Remove valgrind warning

* Added buffer size watermark

* added ability to produce a message directly

* Updated on_delivery_report function
2018-05-24 20:59:41 -07:00
Matias Fontanini
17da880854 Persist message's user data when retrying on buffered producer 2017-09-17 15:46:23 -07:00
Matias Fontanini
d0c794b978 Increase expected acks on buffered producer after producing 2017-08-24 15:04:54 -07:00
Matias Fontanini
2340046544 Clear messages acked/expected acks on buffered producer 2017-07-11 10:17:58 -07:00
Matias Fontanini
08815e97c0 Add CPPKAFKA_API to utils classes 2017-07-04 18:09:06 -07:00
Matias Fontanini
9594ddced3 Update license 2017-05-06 08:27:47 -07:00
Matias Fontanini
bb900f21cb Allow clearing buffered messages on buffered producer 2017-04-24 20:08:26 -07:00
Matias Fontanini
5e84da2458 Change logic to reset messages acked count on buffered producer 2017-04-23 14:55:33 -07:00
Matias Fontanini
b5a7c70993 Expand description of BufferedProducer 2017-04-23 14:12:00 -07:00
Matias Fontanini
aab182c4ea Allow producing messages without buffering them in buffered producer 2017-04-23 11:23:37 -07:00
Matias Fontanini
35cf6fd0bf Catch flush timeout exception on buffered producer 2017-04-23 11:06:49 -07:00
Matias Fontanini
e7db3df966 Change internals of BufferedProducer 2017-04-23 11:01:21 -07:00
Matias Fontanini
6c47b1a190 Allow setting timestamp on produced messages 2017-04-16 15:22:17 -07:00
Matias Fontanini
9ecad71be1 Remove Partition class 2017-04-16 14:51:06 -07:00
Matias Fontanini
f924eb68e7 Allow making no key/payload copies in BufferedProducer 2017-04-16 10:14:12 -07:00
Matias Fontanini
f781afe5cf Allow using generic message builders not tied to Buffer class 2017-04-16 10:14:12 -07:00
Matias Fontanini
e26d7e7db2 Add MessageBuilder and use it on producer classes 2017-04-15 16:46:37 -07:00
Matias Fontanini
6f60881d87 Handle producer queue being full on buffered producer 2016-11-07 07:32:40 -08:00
Matias Fontanini
33680839a2 Include message.h in buffered_producer.h 2016-11-01 16:48:18 -07:00
Matias Fontanini
ad1db4a680 Use relative includes on utils files 2016-11-01 15:50:40 -07:00
Matias Fontanini
55f93e1f0d Add buffered producer class 2016-10-29 11:29:26 -07:00