39 Commits

Author SHA1 Message Date
stephb9959
03b12561af Merge 2022-08-01 21:55:17 -07:00
Alexander Damian
20b806037b Added options to conditionally disable installation of configuration files 2019-07-03 18:01:28 -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
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
bbc3af67d9 Merge pull request #189 from accelerated/fix_versioning
Fixed version macros
2019-05-16 09:21:23 -07:00
Alexander Damian
d148fe18d5 Added config option for PKGCONFIG install location 2019-05-15 13:44:07 -04:00
Alexander Damian
40d0221052 Fixed version macros 2019-04-26 14:36:03 -04:00
accelerated
a935d1cb2e Set CMAKE_CXX_FLAGS only when not set 2019-03-02 18:51:25 -05:00
Matias Fontanini
f458514fb2 Bump version to 0.2 2018-09-20 18:23:32 -07:00
Sergey Batanov
3238c94f43 Fix #83: define LIBRDKAFKA_STATICLIB (#99)
* Fix #83: define LIBRDKAFKA_STATICLIB

* Moved LIBRDKAFKA_STATICLIB definition
2018-07-04 08:26:25 -07:00
Alex Damian
069ea3df8e Specific linking option for rdkafka library (#94) 2018-06-25 07:03:11 -07: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
Andrei Ovsiankin
c95d790547 Added cmake option for disabling tests (#51)
* Added cmake option for disabling tests

* Renamed cmake option for tests

* comment fixed

* Misprint
2018-04-20 05:00:34 -07:00
Michael Spector
c874ccc43f Check for existing custom target: uninstall
When including `cppkafka` in a CMake project containing other project defining the same target (`curl`, specifically, which defines the same target [here](3ea7679057/CMakeLists.txt (L1293))) I get the foollowing error:

```
add_custom_target cannot create target "uninstall" because another target  with the same name already exists
```

This if condition fixes the issue.
2017-11-21 10:14:29 +02:00
Matias Fontanini
d458e4d668 Add uninstall target 2017-06-05 19:38:34 -07:00
Matias Fontanini
2f9170e32a Fix build errors/warnings on Windows 2017-06-03 12:23:06 -07:00
Matias Fontanini
f5c8c7c3c8 Require rdkafka v0.9.4 to build 2017-04-16 10:29:15 -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
8143c5b06a Add KafkaHandleBase::get_offsets_for_times 2017-04-15 19:21:51 -07:00
Matias Fontanini
b147123eba Add Doxygen documentation generation 2016-07-30 09:15:14 -07:00
Matias Fontanini
db1c99c662 Generate the proper .so version 2016-07-27 20:27:22 -07:00
Matias Fontanini
06c50f0f71 Use include directory for rdkafka 2016-07-06 16:16:04 -07:00
Matias Fontanini
2532a2d614 Allow building as static/dynamic library 2016-06-17 15:51:34 -07:00
Matias Fontanini
a12c0eb1f8 Check for rd_kafka_commited to check for valid rdkafka version 2016-06-17 15:47:26 -07:00
Matias Fontanini
0fb0afc4f4 Remove zookeeper support 2016-06-16 20:22:36 -07:00
Matias Fontanini
74eb74785d Improve build system a bit 2016-06-14 21:03:07 -07:00
Matias Fontanini
6d053c1dbd Add install target 2016-06-14 20:32:17 -07:00
Matias Fontanini
99cab2e741 Add examples 2016-06-14 20:07:34 -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
4475209ce1 Add first producer test 2016-05-22 19:47:23 -07:00
Matias Fontanini
1cc8f027c9 Add initial producer code 2016-05-16 20:46:08 -07:00
Matias Fontanini
f86c9c1f57 Add initial config classes 2016-05-12 20:37:58 -07:00