Commit Graph

398 Commits

Author SHA1 Message Date
Matias Fontanini
ca3a1321ec Merge pull request #247 from filimonov/kafka_destroy_flags3
Add support for rd_kafka_destroy_flags.
2020-05-23 09:24:38 -07:00
Mikhail Filimonov
244726c251 Style changes 2020-05-22 17:24:19 +02:00
Mikhail Filimonov
3b67ba072a Add support for rd_kafka_destroy_flags. 2020-05-21 23:38:17 +02:00
Matias Fontanini
006642cdb2 Merge pull request #237 from accelerated/buff_prod_comments
Added clarifications and comments to the BufferedProducer class
2020-04-18 10:56:51 -07:00
Matias Fontanini
679f58dee3 Merge pull request #241 from accelerated/timeout-overloads
Added timeout overloads for consumer and handle classes
2020-04-08 08:28:26 -07:00
Docker RHEL
b2b0d16fee Added timeout overloads for consumer and handle classes 2020-04-08 15:23:05 +00:00
Matias Fontanini
2ce0ae4a62 Merge pull request #238 from accelerated/poll_strategy
Added member functions for static consumers
2020-04-08 07:14:58 -07:00
Alexander Damian
935a34238b Added implementation for thread-aware ack monitoring 2020-03-05 14:56:36 -05:00
Alexander Damian
5a057e4c99 Wait until the ack is received without timing out.
wait_for_acks() should default to infinite timeout since the
original implementation was never timing out.
2020-02-16 21:06:14 -05: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
2287e0994b Express async_flush in terms of flush since the logic is identical except for the timeout 2020-02-16 20:11:33 -05:00
Alexander Damian
92e46aa6cb Proper implementation of flush() with timeout 2020-02-16 20:11:20 -05:00
Alexander Damian
a4532ed336 Use erase directly
Added revoke() member function
2020-02-09 21:25:36 -05:00
Alexander Damian
68ae525eba Added member functions for static consumers 2020-02-08 22:34:45 -05:00
Alexander Damian
e401e97b40 Added clarifications and comments to the BufferedProducer class 2020-02-08 21:24:12 -05:00
Matias Fontanini
7d097df34d Merge pull request #235 from accelerated/promise_bug
Fix tracker promise from throwing when set multiple times
2020-02-04 06:23:39 -08:00
Alexander Damian
fbbd5bc5a6 Changed int to size_t 2020-02-03 22:04:50 -05:00
Alexander Damian
bda2f4156d Fix tracker promise from throwing when set multiple times 2020-02-03 16:46:28 -05:00
Matias Fontanini
f1de729d4e Merge pull request #234 from accelerated/null_topic
Fix crash when message handle is valid but topic is null
2020-01-27 09:09:44 -08:00
Alexander Damian
81ce56a1bd Fix case when message handle is valid but topic is null 2020-01-27 10:30:12 -05:00
Matias Fontanini
c3b4580fef Merge pull request #210 from ych/pc_config
Remove boost dependency from pkg-config template file
2019-09-05 09:39:52 -07:00
ych
de06b7ad4e Add boost include dir to pkg-config template file 2019-09-05 11:49:01 +08:00
ych
9a0f196d34 Remove boost dependency from pkg-config template file
Boost not provide pkg-config file, so if execute
 'pkg-config --exist cppkafka' command with boost dependency,
 user always gets non-zero return. And PKG_SEARCH_MODULE in cmake
 use the command to check the status of cppkafka.

The boost dependency should be removed for general usage can be works.
2019-09-05 11:49:01 +08:00
Matias Fontanini
e5aec82ddf Merge pull request #219 from accelerated/master
Fix RdKafka_LIBRARY_DIR-NOTFOUND
2019-09-04 08:44:05 -07:00
Alexander Damian
58111bdf62 Removed RdKafka_LIBRARY_DIR as per code review 2019-09-03 14:56:46 -04:00
Alex Damian
fd19648d5a Fix RdKafka_LIBRARY_DIR-NOTFOUND 2019-08-31 23:54:44 -04:00
Matias Fontanini
4a3ec91f87 Merge pull request #215 from accelerated/partition
Added method to set the partition
2019-07-29 09:11:01 -07:00
Alexander Damian
a85a87bb9b Added method to set the partition 2019-07-26 10:35:20 -04:00
Matias Fontanini
a357529cc0 Merge pull request #204 from accelerated/cmake
Add CMake configuration file and export installed targets
2019-07-17 12:55:25 -07:00
Alexander Damian
dd6ec44c27 Updated pkg_config file name 2019-07-17 10:20:43 -04:00
Alexander Damian
20b806037b Added options to conditionally disable installation of configuration files 2019-07-03 18:01:28 -04:00
Alexander Damian
ad800a5765 Added RdKafka hex version so that FindRdKafka.cmake can compile the test code. Changed find_dependency to find_package for the RdKafka config so that the script is not automatically exited on failure 2019-07-02 15:30:33 -04:00
Alexander Damian
4bddb2241c Added INSTALL_RPATH and INSTALL_RPATH_USE_LINK_PATH to CppKafka target to allow discoverability of the RdKafka.so w/o having to update LD_LIBRARY_PATH 2019-07-02 14:52:21 -04:00
Alexander Damian
097184c648 Added COMPONENT tags to the install targets. Also when installing TARGETS, the COMPONENT cannot appear after INCLUDES DESTINATION as it will be considered part of the destination. 2019-07-01 17:58:38 -04:00
Alexander Damian
bbc78f8dbb Fixed conflicts 2019-07-01 17:24:26 -04:00
Matias Fontanini
18d0b0c00b TEMP: Always put lib under "lib" when installing
This is a temporary fix until this is properly fixed.
2019-07-01 13:46:57 -07:00
Alexander Damian
591e8abe4f Changed include_directories to taget_include_directories and removed Boost path since it's automatically pulled in via Boost::headers 2019-07-01 15:36:10 -04:00
Alexander Damian
ee30fabc2a Added INTERFACE_LINK_DIRECTORIES to the RdKafka::rdkafka properties 2019-07-01 14:57:19 -04:00
Alexander Damian
0d2356f7dd Changed link libraries to PUBLIC so they get exported in the CppKafkaTargets.cmake 2019-07-01 11:52:38 -04:00
Alexander Damian
11a6e4213b Remove comment from config file relating to not finding the RdKafka config file. 2019-06-30 19:39:31 -04:00
Alexander Damian
c4b6a95438 Fixes per code review 2019-06-30 19:30:13 -04:00
Alexander Damian
40e8559158 Remove warning for cmake policy CMP0074 2019-06-29 12:38:13 -04:00
Alexander Damian
d20cab69f3 Add CMake configuration file and export installed targets 2019-06-29 01:50:29 -04:00
Matias Fontanini
c733e0b8d8 Merge pull request #199 from accelerated/pc_config
Removed dependency from rdkafka since it has its own pkg_config file.…
2019-05-21 08:43:49 -07:00
Alexander Damian
07b3c4957d Changed method to determine bitness 2019-05-21 08:52:03 -04:00
Alexander Damian
107cff7ed7 Removed dependency from rdkafka since it has its own pkg_config file. Also added BITNESS detection 2019-05-20 15:27:07 -04:00
Matias Fontanini
1a981f2674 Merge pull request #196 from mfontanini/travis-fix
Fix kafka URL in travis build
2019-05-19 10:21:47 -07:00
Matias Fontanini
8eb7751ff3 Fix kafka URL in travis build 2019-05-19 09:38:25 -07:00
Matias Fontanini
4b25f928a1 Merge pull request #194 from accelerated/master
Fixed pkg_config file
2019-05-17 11:25:12 -07:00
Alexander Damian
6adf1e82c9 Fixed pkg_config file template by adding boost dependency and correcting rdkafka library name 2019-05-17 14:19:28 -04:00