Commit Graph

244 Commits

Author SHA1 Message Date
Matias Fontanini
f0ec0bfb10 Add ConsumerDispatcher class 2017-06-10 15:25:28 -07:00
Matias Fontanini
b79a1ae6da Move endianness.h file into detail folder 2017-06-05 19:36:22 -07:00
Matias Fontanini
acbae757d8 Remove all references to Partition class 2017-06-04 10:57:28 -07:00
Matias Fontanini
895a983d17 Allow constructing Buffers from std::vector 2017-06-04 08:32:19 -07:00
Matias Fontanini
d88e2d9ed4 Fix build issue on Windows 2017-06-03 12:38:54 -07:00
Matias Fontanini
2f9170e32a Fix build errors/warnings on Windows 2017-06-03 12:23:06 -07:00
Matias Fontanini
9c9d1e494d Add BackoffCommitter class 2017-05-07 11:37:07 -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
7ec3252a86 Minor documentation improvements 2017-04-23 14:24:06 -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
dbb547889b Allow getting consumer group information 2017-04-16 19:45:03 -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
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
c99c8bbb05 Add CPPKAFKA_API macro to MessageBuilder declaration 2017-04-15 17:25:31 -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
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
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
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
Matias Fontanini
0a58fc306b Fix build issues on OSX 2016-06-20 13:31:15 -07:00