Commit Graph

416 Commits

Author SHA1 Message Date
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
proller
df4eaa0735 Fix build on some libcxx implementations (#175) 2019-03-07 10:13:15 -08:00
Matias Fontanini
de85a329cb Merge pull request #174 from accelerated/cxxflags
Set CMAKE_CXX_FLAGS only when not set
2019-03-04 20:19:57 -08:00
Matias Fontanini
a17a6f3b55 Merge pull request #172 from snar/freebsd-fix
Fix FreeBSD builds
2019-03-04 20:19:09 -08:00
accelerated
a935d1cb2e Set CMAKE_CXX_FLAGS only when not set 2019-03-02 18:51:25 -05:00
Alexandre Snarskii
ca729ef6f0 Fix FreeBSD builds 2019-03-01 13:47:40 +03:00
Matias Fontanini
c9c46d7a1f Merge pull request #171 from accelerated/async_flush
Added wait_for_acks(0) when calling async_flush
2019-02-23 11:27:13 -08:00
accelerated
ace18d5d7b Added wait_for_acks(0) when calling async_flush 2019-02-21 15:21:16 -05:00
Pavel Pimenov
5bfc047263 Fix detected by PVS-Studio (#167)
* Fix PVS-Studio
V591 	Non-void function should return a value.
V519 	The 'new_item' variable is assigned values twice successively.
2019-02-20 18:30:48 -08:00
Matias Fontanini
4a887607b3 Merge pull request #164 from accelerated/offset_store
Added consumer legacy offset store API
2019-02-07 09:00:17 -08:00
accelerated
9bf535ac49 Simplify round-robin test due to intermittent errors 2019-02-06 22:45:12 -05:00
accelerated
8ae5e9d573 Fixed buffer test array initialization warning for clang 2019-02-06 18:47:36 -05: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
872ee0442b Merge pull request #163 from accelerated/status_version_fix
Fix message status version
2019-01-31 09:03:40 -08:00