27 Commits

Author SHA1 Message Date
Joao Cordeiro
62ec1d82c1 remove unused boost includes 2020-10-18 12:30:27 +01:00
Alexander Damian
ffcf8956bd Allow to pass-in via cmake all the kafka config options for testing: broker, partitions and topics 2020-02-16 20:11:33 -05:00
Alexander Damian
c4b6a95438 Fixes per code review 2019-06-30 19:30:13 -04:00
Alexander Damian
d20cab69f3 Add CMake configuration file and export installed targets 2019-06-29 01:50:29 -04:00
Matias Fontanini
a2d17a6f45 Test suite fixes (#124)
* Move polling strategy adapter definition into test_utils.cpp

* Use a random consumer group id in every test
2018-10-20 20:32:32 -07:00
Alex Damian
fbe3759fed Header support implementation (#115)
* header support implementation

* Fixed issue when ptr is null and doesn't have a cloner function

* Code complete with test cases

updated travis file with v0.11.5

* Added compile time check for rdkafka header support version

* Changes per last code review

* Using brace list initializers
2018-10-16 10:58:05 -07:00
Alex Damian
9714bec5bf Callback invoker to sink all thrown exceptions (#74) 2018-06-01 16:35:56 -07:00
accelerated
ea9601ba1b Changes per code review 2018-05-29 10:05:56 -04:00
accelerated
6144330835 added test case for polling strategy refactored the strategy class 2018-05-29 09:55:30 -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
Matias Fontanini
cb2c8877d8 Move tests to use catch instead of googletest (#56)
* Port buffer test to use Catch2

* Move compacted topic processor test to Catch2

* Move configuration tests to Catch2

* Rename configuration test cases

* Move topic partition list test to Catch2

* Move handle base tests to Catch2

* Move producer tests to Catch2

* Move consumer tests to catch2

* Use CHECK on tests when appropriate

* Remove googletest

* Show tests' progress as they run

* Update message when Catch2 is not checked out

* Remove references to googletest

* Run cppkafka_tests manually on travis

* Print amount of time taken by each test case
2018-04-24 03:20:48 +01:00
Matias Fontanini
dbb547889b Allow getting consumer group information 2017-04-16 19:45:03 -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
28f6253cfb Allow fetching metadata only for known topics 2017-04-15 16:53:37 -07:00
Matias Fontanini
b570d07fcd Add compacted topic processor test 2016-10-29 13:20:25 -07:00
Matias Fontanini
0fb0afc4f4 Remove zookeeper support 2016-06-16 20:22:36 -07:00
Matias Fontanini
8db1df0998 Add conversion/comparison operators to Buffer 2016-06-15 20:47:40 -07:00
Matias Fontanini
74eb74785d Improve build system a bit 2016-06-14 21:03:07 -07:00
Matias Fontanini
d90f039a87 Find rdkafka via cmake 2016-06-14 19:03:20 -07:00
Matias Fontanini
5dcf01c1fc Find zookeeper and boost properly using cmake 2016-06-13 20:53:54 -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
65a60f1690 Allow getting config options and add multiple overloads for set 2016-06-05 15:08:40 -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