Commit Graph

105 Commits

Author SHA1 Message Date
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
dbb547889b Allow getting consumer group information 2017-04-16 19:45:03 -07:00
Matias Fontanini
ebde747e18 Multiple fixes on README.md 2017-04-16 15:41:08 -07:00
Matias Fontanini
6e248e2bb5 Update list of requirements in README 2017-04-16 15:34:07 -07:00
Matias Fontanini
88dd16e0e7 Update code on README.md 2017-04-16 15:33:38 -07:00
Matias Fontanini
69b0f2166b Update minimum librdkafka required version 2017-04-16 15:23:05 -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
f5c8c7c3c8 Require rdkafka v0.9.4 to build 2017-04-16 10:29:15 -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
861e41a792 Add note about the API being unstable 2017-04-15 19:25:40 -07:00
Matias Fontanini
8143c5b06a Add KafkaHandleBase::get_offsets_for_times 2017-04-15 19:21:51 -07:00
Matias Fontanini
c9f3b0c5bc Use std::chrono::milliseconds for message timestamp 2017-04-15 18:14:36 -07:00
Matias Fontanini
91cd9a2957 Make producer test work on librdkafka v0.9.4 2017-04-15 18:13:56 -07:00
Matias Fontanini
c99c8bbb05 Add CPPKAFKA_API macro to MessageBuilder declaration 2017-04-15 17:25:31 -07:00
Matias Fontanini
401a60d016 Fix README.md to use MessageBuilder 2017-04-15 17:17:07 -07:00
Matias Fontanini
28f6253cfb Allow fetching metadata only for known topics 2017-04-15 16:53:37 -07:00
Matias Fontanini
e26d7e7db2 Add MessageBuilder and use it on producer classes 2017-04-15 16:46:37 -07:00
Matias Fontanini
c8154ac6cb Rename TopicMetadata::get_topic to TopicMetadata::get_name 2016-11-25 10:18:21 -08:00
Matias Fontanini
6f60881d87 Handle producer queue being full on buffered producer 2016-11-07 07:32:40 -08:00
Matias Fontanini
aa7fa6ce0d Make Buffer::operator== a free function 2016-11-06 13:50:50 -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
b570d07fcd Add compacted topic processor test 2016-10-29 13:20:25 -07:00
Matias Fontanini
55f93e1f0d Add buffered producer class 2016-10-29 11:29:26 -07:00
Matias Fontanini
cf6dc03eec Move compacted topic processor into utils directory 2016-10-28 07:24:26 -07:00
Matias Fontanini
b834fbd07a Use optionals for CompactedTopicProcessor decoders 2016-10-20 15:18:46 -07:00
Matias Fontanini
23f151175d Add wrapper for rd_kafka_outq_len 2016-10-08 10:24:15 -07:00
Matias Fontanini
a46896790b Allow polling with a timeout 2016-10-08 10:08:15 -07:00
Matias Fontanini
8361e4ca1e Use another name for Metadata::get_topics when using a prefix 2016-08-19 14:12:44 -07:00
Matias Fontanini
b768d52791 Take key before value on Producer::produce 2016-08-14 15:49:23 -07:00
Matias Fontanini
af72add34c Remove bogus code 2016-08-11 19:57:57 -07:00
Matias Fontanini
0b252ddd6e Remove "in development" message from README.md 2016-08-11 19:49:59 -07:00
Matias Fontanini
b147123eba Add Doxygen documentation generation 2016-07-30 09:15:14 -07:00
Matias Fontanini
db1c99c662 Generate the proper .so version 2016-07-27 20:27:22 -07:00
Matias Fontanini
ab44f5d1de Remove useless topic.h include in message.h 2016-07-23 14:27:44 -07:00
Matias Fontanini
c3d6ce99f5 Make Consumer::close private 2016-07-16 08:45:33 -07:00
Matias Fontanini
06c50f0f71 Use include directory for rdkafka 2016-07-06 16:16:04 -07:00
Matias Fontanini
065f899954 Add error handler to compacted topic processor 2016-07-03 08:32:13 -07:00
Matias Fontanini
cf6ac1675b Add Error class 2016-06-27 21:43:20 -07:00
Matias Fontanini
6cfe01afb1 Add CompactedTopicProcessor 2016-06-27 12:16:46 -07:00
Matias Fontanini
ab9c2494e1 Add TopicPartition::operator< 2016-06-26 13:27:16 -07:00
Matias Fontanini
25ae15444e Add TopicPartition::set_offset 2016-06-26 09:06:09 -07:00
Matias Fontanini
c878049253 Allow building a configuration from an option list 2016-06-25 09:24:18 -07:00
Matias Fontanini
a2e7f6db0d Add getters for Consumer callbacks 2016-06-25 08:42:04 -07:00
Matias Fontanini
c300a9bf35 Allow chaining set calls on Configuration and TopicConfiguration 2016-06-22 20:03:28 -07:00
Matias Fontanini
bba9043faf Allow getting option values providing a template type 2016-06-20 20:10:08 -07:00