Matias Fontanini
2c6a47d68d
Merge pull request #156 from psigen/patch-1
...
Use CMAKE_STATIC_LIBRARY_* macros for FindRdKafka
2019-01-14 09:18:50 -08:00
Pras Velagapudi
85b7e579e2
Use CMAKE_STATIC_LIBRARY_* macros for FindRdKafka
...
In the current implementation, library suffixes are hard coded from a hand-maintained list. Instead of writing this list, we can use the CMake macros for platform specific library prefix/suffixes.
E.g. https://cmake.org/cmake/help/v3.0/variable/CMAKE_STATIC_LIBRARY_SUFFIX.html
This also resolves library resolution on Mac OSX, which does not currently work on the native `.dylib` suffix for shared libraries.
2019-01-12 15:51:11 -05:00
Matias Fontanini
4ba6b38b6e
Merge pull request #149 from accelerated/queue_full
...
Added queue full notification
2019-01-06 16:52:12 -08:00
accelerated
4a6b6779ad
Updated callback description
2019-01-06 17:40:39 -05:00
accelerated
97d1bb9434
Added queue full notify callback
2019-01-06 17:35:55 -05:00
accelerated
ed81ce446d
Added queue full notification
2019-01-06 16:59:00 -05:00
Matias Fontanini
520465510e
Revert "Add support for Buffer construction via raw arrays"
...
This reverts commit 74acf65fa6 .
2018-12-17 09:18:28 -08:00
Matias Fontanini
40ee64c5c1
Merge pull request #140 from tgaldes/master
...
Add support for Buffer construction via raw arrays
2018-12-16 11:42:29 -08:00
Matias Fontanini
3ffb0f1fa8
Merge pull request #151 from mfontanini/travis-fix
...
Fix travis build
2018-12-16 10:15:33 -08:00
Matias Fontanini
7c5616da07
Use sudo: required in travis file
2018-12-16 10:02:06 -08:00
Matias Fontanini
f14a4b9e8c
Merge pull request #150 from accelerated/flush_bug
...
Bug with message leak in BufferedProducer::flush(timeout)
2018-12-16 09:45:35 -08:00
Matias Fontanini
ccc6738265
Merge pull request #148 from accelerated/flush_failure
...
Added flush/produce termination callbacks
2018-12-16 09:32:36 -08:00
accelerated
8b431c5421
changed rbegin to begin
2018-12-14 16:33:20 -05:00
accelerated
4a24971d3f
Fixed bug with message leak in BufferedProducer::flush(timeout)
2018-12-14 16:08:57 -05:00
accelerated
8dd5428c49
Added similar logic for ProduceTerminationCallback
2018-12-13 15:04:12 -05:00
accelerated
0b9b7bab11
Added flush termination callback
2018-12-13 10:43:29 -05:00
Matias Fontanini
ab002fe119
Merge pull request #147 from accelerated/raw_arrays
...
Support for raw array Buffer constructor
2018-12-10 18:15:37 -08:00
accelerated
06ddd79a29
Support for raw array Buffer constructor
2018-12-10 15:42:04 -05:00
Matias Fontanini
d89840b5f0
Merge pull request #144 from accelerated/header_fix
...
Header fixes and header copy considerations
2018-12-09 21:47:35 -08:00
accelerated
25c2eaa998
Changed iterator logic to capture header list by reference
2018-12-06 10:37:02 -05:00
accelerated
1c80af9b68
Added constructor from another HeaderList type
2018-12-05 20:04:10 -05:00
accelerated
fe0c7e7dd5
Fixed end() iterator and also applied default copy-constructor instead of passing null handle in BasicMessageBuilder
2018-12-05 12:15:25 -05:00
accelerated
93e066a1c1
* Added asserts when building a HeaderList and removed checks for handle
...
validity.
* Removed explicit move semantic when cloning a MessageBuilder.
* Renamed clone() to try_clone() in ClonablePtr class.
2018-12-04 11:12:28 -05:00
accelerated
6bbddcd5d5
Fixed Message::set_header_list as per review comments. Changed ClonablePtr to use clone() internally
2018-12-03 09:48:32 -05:00
accelerated
e96dc6d1fc
Added comments
2018-12-02 15:00:07 -05:00
accelerated
0b7931bfb8
Added Buffer::Buffer(iter, iter) constructor overload
2018-12-02 14:42:02 -05:00
accelerated
57bddabfd0
Removed clone_handle method and made ClonablePtr::clone private
2018-12-02 14:15:20 -05:00
accelerated
c7ba478582
Header fixes
2018-11-30 09:55:26 -05:00
Matias Fontanini
a9a0693e2a
Merge pull request #143 from mfontanini/fix-travis
...
Fix kafka download URL in travis file
2018-11-26 20:03:07 -08:00
Matias Fontanini
5aa4bc08a3
Fix kafka download URL in travis file
2018-11-26 19:47:58 -08:00
Matias Fontanini
5a4481dc28
Merge pull request #142 from farnazj/master
...
Add <array> header
2018-11-26 19:06:45 -08:00
Farnaz Jahanbakhsh
d06cd222fe
include <array>
2018-11-26 00:26:04 +00:00
Tyler Galdes
74acf65fa6
Add support for Buffer construction via raw arrays
2018-11-19 19:59:08 -05:00
Matias Fontanini
4ad2685d61
Merge pull request #138 from tgaldes/master
...
Add support for constructing Buffer from std::array
2018-11-19 16:58:34 -08:00
Tyler Galdes
248d1b0638
Delete construction of buffer with rvalue arrays
2018-11-19 19:48:02 -05:00
Tyler Galdes
b48036fe62
use std::array functions for pointer and size of data
2018-11-19 11:49:17 -05:00
Tyler Galdes
757d2b623f
Add support for constructing Buffer from std::array
2018-11-16 19:49:52 -05:00
Matias Fontanini
4b7a10ec90
Merge pull request #136 from accelerated/master
...
Remove setting log level in the constructor
2018-11-13 14:50:15 -08:00
accelerated
b366cf4bf6
Remove setting log level in the constructor
2018-11-13 15:28:06 -05:00
Matias Fontanini
7b4c3e163f
Merge pull request #135 from accelerated/events
...
Added API description for Message::get_status
2018-11-12 10:26:30 -08:00
accelerated
70aef6681d
Added API description for Message::get_status
2018-11-12 12:14:20 -05:00
Matias Fontanini
29cb02b756
Merge pull request #134 from accelerated/events
...
Added support for message status and setting the event mask
2018-11-12 09:05:27 -08:00
accelerated
9859e54522
Added support for message status and setting the event mask
2018-11-12 10:30:54 -05:00
Matias Fontanini
9f6556da0c
Merge pull request #125 from mfontanini/events
...
Event implementation
2018-11-10 10:43:05 -08:00
Matias Fontanini
46481d879f
Use BufferedProducer in round robin consumer test
...
Hopefully this will get rid of the sporadic failures
2018-11-10 10:26:03 -08:00
Matias Fontanini
25e3aacf4a
Add compile guard for rd_kafka_event_stats
2018-11-10 10:26:03 -08:00
Matias Fontanini
1f1f1c253b
Fix build issue when using rd_kafka_message_latency in old rdkafka
2018-11-10 10:26:03 -08:00
Matias Fontanini
24960c0a49
Build library on travis using rdkafka 0.9.4 as well
2018-11-10 10:26:03 -08:00
Matias Fontanini
4ac837d831
Disable even consumption test
2018-11-10 10:26:03 -08:00
Matias Fontanini
b242e2c35c
Allow setting background event callback on configuration handles
2018-11-10 10:26:03 -08:00