Commit Graph

382 Commits

Author SHA1 Message Date
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
Matias Fontanini
bb0beb6db6 Define constructor for new exception
Fixes #193
2019-05-17 09:14:35 -07:00
Matias Fontanini
bbc3af67d9 Merge pull request #189 from accelerated/fix_versioning
Fixed version macros
2019-05-16 09:21:23 -07:00
Matias Fontanini
a0530d79a9 Merge pull request #190 from accelerated/pc_config
Support for generating pkg-config file
2019-05-16 09:19:03 -07:00
Alexander Damian
d148fe18d5 Added config option for PKGCONFIG install location 2019-05-15 13:44:07 -04:00
Alexander Damian
6499ef9869 Merge branch 'master' of https://github.com/mfontanini/cppkafka into pc_config 2019-05-10 16:10:37 -04:00
Alexander Damian
24e94fbfbc Added boost include dirs to pkg config file 2019-05-08 10:28:49 -04:00
Matias Fontanini
b91350d6a4 Merge pull request #187 from accelerated/master
Added commit termination callback functionality in BackoffComitter
2019-05-02 08:36:17 -07:00
Alexander Damian
bd43d3c767 Support for generating pkg-config file 2019-04-26 16:19:54 -04:00
Alexander Damian
40d0221052 Fixed version macros 2019-04-26 14:36:03 -04:00
Alexander Damian
6e076810a0 Added ActionTerminatedException to BackoffPerformer 2019-04-26 11:12:52 -04:00
Alexander Damian
81a131ff16 Return true when RD_KAFKA_RESP_ERR__NO_OFFSET is received 2019-04-24 17:39:59 -04:00
Alexander Damian
effdf7fb95 Removed ReturnType. Throw on error from inside do_commit() as well as from perform() 2019-04-24 16:42:56 -04:00
Alexander Damian
d84b75ca9d Merge branch 'master' of https://github.com/mfontanini/cppkafka 2019-04-24 10:52:53 -04:00
Alexander Damian
0c1119727b Replaced termination callback with throwing exception 2019-04-24 10:40:29 -04:00
proller
e8c4397b66 Fix build on some libcxx implementations (#175) 2019-04-24 09:16:14 -04:00
accelerated
470a5b6857 Set CMAKE_CXX_FLAGS only when not set 2019-04-24 09:16:14 -04:00