demin80
5a34955fae
added type conversion to avoid signed-vs-unsigned-comparison warning
2019-01-16 10:52:14 -05:00
demin80
93c2edf6ba
refactored by adding retry_mutex_ and replacing bools with enums; fixed formatting issues
2019-01-10 14:37:46 -05:00
demin80
71c4e02143
Revised the implementation based on the reviewers' response
2019-01-08 13:48:26 -05:00
demin80
00370c981d
Fixed spacing issues
2019-01-07 14:42:32 -05:00
demin80
97229ebfd9
Added a high-priority queue to BufferedProducer to avoid message re-ordering
2019-01-07 14:39:09 -05: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
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
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
accelerated
06ddd79a29
Support for raw array Buffer constructor
2018-12-10 15:42:04 -05: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
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
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
accelerated
70aef6681d
Added API description for Message::get_status
2018-11-12 12:14:20 -05:00
accelerated
9859e54522
Added support for message status and setting the event mask
2018-11-12 10:30:54 -05: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
b242e2c35c
Allow setting background event callback on configuration handles
2018-11-10 10:26:03 -08:00
Matias Fontanini
19baa03cea
Allow getting background queue out of kafka handle base
2018-11-10 10:26:03 -08:00
Matias Fontanini
8dc94869fd
Move get_queue behavior into Queue class
2018-11-10 10:25:31 -08:00
Matias Fontanini
c7e1dcb60a
Allow checking if an Event is valid
2018-11-10 10:25:31 -08:00
Matias Fontanini
e73c997a0c
Allow getting Events out of Queues
2018-11-10 10:25:31 -08:00
Matias Fontanini
b46991db7e
Add Event class
2018-11-10 10:25:31 -08:00
Alex Damian
b0ddceda1f
Message timestamp refactoring and log level changes ( #133 )
...
* Message timestamp refactoring and log level changes
* Changes per code review
2018-11-07 08:36:57 -08:00
Matias Fontanini
451d60295a
Remove MessageTimestamp constructor from time_point ( #129 )
2018-10-26 18:57:28 -07:00
Alex Damian
57268e666c
Added time_point overloads for creating timestamps. ( #128 )
...
* Added time_point overloads for creating timestamps.
* aliased std::chrono types
2018-10-25 07:39:22 -07:00
Alex Damian
ad9a1e4a49
If timeout is 0, the function should at least run once ( #123 )
2018-10-22 07:55:29 -07:00
Matias Fontanini
416a7d43ce
Minor documentation fixes
2018-10-21 10:17:10 -07:00
Matias Fontanini
b2ba4cbfa3
Add comment regarding flushing producer
2018-10-19 08:41:36 -07:00
multiprogramm
2b66fd3a22
Fix windows linker errors ( #120 )
2018-10-17 10:43:33 -07:00
Alex Damian
fbe3759fed
Header support implementation ( #115 )
...
* header support implementation
* Fixed issue when ptr is null and doesn't have a cloner function
* Code complete with test cases
updated travis file with v0.11.5
* Added compile time check for rdkafka header support version
* Changes per last code review
* Using brace list initializers
2018-10-16 10:58:05 -07:00
Alex Damian
9af4330c6d
Allocators ( #118 )
...
* Added allocator support for consumers and buffered producer
* Changed MessageList back to std::vector<Message> for consistency with the allocator API
2018-10-16 08:57:11 -07:00
Alex Damian
d77e7466b8
changed assert with if statement ( #116 )
2018-10-06 09:28:45 -07:00