Commit Graph

47 Commits

Author SHA1 Message Date
Alexander Damian
a48bf89292 Bring base class into scope 2020-07-19 12:40:52 -04:00
Docker RHEL
b2b0d16fee Added timeout overloads for consumer and handle classes 2020-04-08 15:23:05 +00:00
accelerated
e19d84b839 Added compile time check for store_offsets() api 2019-02-06 17:47:02 -05:00
accelerated
4f4c9e9c91 Changes per code review 2019-02-06 13:01:57 -05:00
accelerated
284e1c57a9 Changed store_offsets() to use the actual position from the assignment 2019-02-04 14:23:59 -05:00
accelerated
7bc03185a8 Added legacy offset store API 2019-02-04 12:26:04 -05:00
Matias Fontanini
8dc94869fd Move get_queue behavior into Queue class 2018-11-10 10:25:31 -08:00
Matias Fontanini
416a7d43ce Minor documentation fixes 2018-10-21 10:17:10 -07:00
Alex Damian
9af4330c6d Allocators (#118)
* Added allocator support for consumers and buffered producer

* Changed MessageList back to std::vector<Message> for consistency with the allocator API
2018-10-16 08:57:11 -07:00
Alex Damian
d6f8129207 Fix for ref count on queue handles (#92)
* Fix for ref count on queue handles

* added check for rdkafka version

* changed to runtime version checking
2018-07-23 17:07:35 -07:00
Alex Damian
5c72f3fe28 Added pause/resume for producers (#87)
* Added pause/resume for producers

* Moved pause/resume functions to KafkaHandleBase
2018-06-25 09:16:57 -07:00
Alex Damian
9714bec5bf Callback invoker to sink all thrown exceptions (#74) 2018-06-01 16:35:56 -07:00
accelerated
6144330835 added test case for polling strategy refactored the strategy class 2018-05-29 09:55:30 -04:00
accelerated
a1ce130bfd changes as per code review 2018-05-29 09:55:29 -04:00
accelerated
15be627f8e intial polling version 2018-05-29 09:55:29 -04:00
Alex Damian
46c396f729 Pause/resume a consumer by topic (#67)
* Pause a consumer by topic

* Changes per review comments

* convert rvalue to value

* Refactored code to provide a more generic way of getting partition subsets

* Changes per code review and added test cases

* Modified loop to use binary search instead of linear

* Simplify find_matches test cases
2018-05-23 13:03:47 -07:00
Alex Damian
83a963c1db Added commit for current assignment and message state checks (#53) 2018-04-20 23:51:44 +01:00
arvidn
a1dc9d115e fix typo in consumer documentation 2017-10-25 20:26:35 +02:00
Matias Fontanini
1582f6156d Allow consuming message batches
Fixes #3
2017-07-17 19:17:57 -07:00
Matias Fontanini
2f9170e32a Fix build errors/warnings on Windows 2017-06-03 12:23:06 -07:00
Matias Fontanini
9594ddced3 Update license 2017-05-06 08:27:47 -07:00
Matias Fontanini
7ec3252a86 Minor documentation improvements 2017-04-23 14:24:06 -07:00
Matias Fontanini
a46896790b Allow polling with a timeout 2016-10-08 10:08:15 -07:00
Matias Fontanini
c3d6ce99f5 Make Consumer::close private 2016-07-16 08:45:33 -07:00
Matias Fontanini
cf6ac1675b Add Error class 2016-06-27 21:43:20 -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
831111812e Export symbols on Windows dll builds 2016-06-19 09:46:28 -07:00
Matias Fontanini
0fb0afc4f4 Remove zookeeper support 2016-06-16 20:22:36 -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
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
8e37440f58 Add config callbacks 2016-06-04 18:16:21 -07:00
Matias Fontanini
82393b558e Add offset commit and delivery report callbacks 2016-05-31 07:26:31 -07:00
Matias Fontanini
fd2d616506 Add some consumer tests 2016-05-29 20:23:56 -07:00
Matias Fontanini
5b957de7e4 Replace TopicPartitionList class with a vector of TopicPartition 2016-05-28 09:02:44 -07:00
Matias Fontanini
c31d00115a Add metadata objects and tests for them 2016-05-26 20:45:12 -07:00
Matias Fontanini
4475209ce1 Add first producer test 2016-05-22 19:47:23 -07:00
Matias Fontanini
29989ea346 Add consumer rebalance callbacks 2016-05-22 15:11:32 -07:00
Matias Fontanini
58258750df Add pause/resume partitions wrappers 2016-05-22 09:52:42 -07:00
Matias Fontanini
83c1d304c6 Add more wrappers for Consumer 2016-05-22 09:49:39 -07:00
Matias Fontanini
c491136e0e Add committed/assigned wrappers 2016-05-21 20:39:37 -07:00
Matias Fontanini
acd5c4a603 Add commit overloads for TopicPartitionList 2016-05-21 20:20:52 -07:00
Matias Fontanini
5606b81ecb Add commit methods to Consumer 2016-05-21 20:16:08 -07:00
Matias Fontanini
1c51bb72f4 Add Consumer::poll 2016-05-21 19:51:50 -07:00
Matias Fontanini
4f50122393 Add initial consumer code 2016-05-21 19:31:24 -07:00