Commit Graph

223 Commits

Author SHA1 Message Date
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
Matias Fontanini
c615664f12 Add Message::get_timestamp 2016-06-19 21:00:25 -07:00
Matias Fontanini
831111812e Export symbols on Windows dll builds 2016-06-19 09:46:28 -07:00
Matias Fontanini
678ac88c9b Add KafkaHandleBase::add_brokers 2016-06-19 09:21:29 -07:00
Matias Fontanini
a3b311fe00 Make get_metadata(Topic) return only topic metadata 2016-06-18 08:45:33 -07:00
Matias Fontanini
84d98b38e5 Allow dumping all options in a configuration 2016-06-18 08:23:25 -07:00
Matias Fontanini
0fb0afc4f4 Remove zookeeper support 2016-06-16 20:22:36 -07:00
Matias Fontanini
e1c2ee34fe Add iterators to Buffer 2016-06-16 07:46:55 -07:00
Matias Fontanini
8db1df0998 Add conversion/comparison operators to Buffer 2016-06-15 20:47:40 -07:00
Matias Fontanini
9e79321a1f Add operator<< for TopicPartition 2016-06-15 07:44:28 -07:00
Matias Fontanini
6877c4be03 Add enum for TopicPartition offsets 2016-06-15 07:32:22 -07:00
Matias Fontanini
6d053c1dbd Add install target 2016-06-14 20:32:17 -07:00
Matias Fontanini
99cab2e741 Add examples 2016-06-14 20:07:34 -07:00
Matias Fontanini
c4054eaae0 Allow constructing Buffer from a std::string 2016-06-14 19:15:46 -07:00
Matias Fontanini
0f5660710a Add default constructor to Topic 2016-06-13 20:31:26 -07:00
Matias Fontanini
a055768f5a Document more classes 2016-06-12 20:14:40 -07:00
Matias Fontanini
9751acd8df Add some documentation 2016-06-12 17:49:11 -07:00
Matias Fontanini
0cf8369ef9 Add zookeeper support 2016-06-12 10:43:38 -07:00
Matias Fontanini
65126b27f1 Add initial zookeeper wrapper code 2016-06-11 08:18:09 -07:00
Matias Fontanini
eed3ac270a Add license and README file 2016-06-05 18:19:23 -07:00
Matias Fontanini
7708e945b7 Add get/query offset wrappers 2016-06-05 18:14:46 -07:00
Matias Fontanini
65a60f1690 Allow getting config options and add multiple overloads for set 2016-06-05 15:08:40 -07:00