Commit Graph

34 Commits

Author SHA1 Message Date
Alexander Damian
81ce56a1bd Fix case when message handle is valid but topic is null 2020-01-27 10:30:12 -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
c7ba478582 Header fixes 2018-11-30 09:55:26 -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
1f1f1c253b Fix build issue when using rd_kafka_message_latency in old rdkafka 2018-11-10 10:26:03 -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
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
Sergey Batanov
081f8d80a0 Fix #97: struct switched to class. (#98)
To avoid name mangling difference in MSVC.
2018-07-02 16:57:52 -07:00
accelerated
23810654ab Removed dependency on Producer and dr_callback_proxy 2018-06-10 13:00:56 -04:00
accelerated
71e6e2e4e5 added retry logic for producers 2018-06-10 13:00:55 -04:00
accelerated
15be627f8e intial polling version 2018-05-29 09:55:29 -04:00
Alex Damian
83a963c1db Added commit for current assignment and message state checks (#53) 2018-04-20 23:51:44 +01:00
Matias Fontanini
17da880854 Persist message's user data when retrying on buffered producer 2017-09-17 15:46:23 -07:00
Matias Fontanini
52822fdb61 Move some small functions into header files 2017-06-10 19:15:53 -07:00
Matias Fontanini
9594ddced3 Update license 2017-05-06 08:27:47 -07:00
Matias Fontanini
7ec3252a86 Minor documentation improvements 2017-04-23 14:24:06 -07:00
Matias Fontanini
c9f3b0c5bc Use std::chrono::milliseconds for message timestamp 2017-04-15 18:14:36 -07:00
Matias Fontanini
ab44f5d1de Remove useless topic.h include in message.h 2016-07-23 14:27:44 -07:00
Matias Fontanini
cf6ac1675b Add Error class 2016-06-27 21:43:20 -07:00
Matias Fontanini
c615664f12 Add Message::get_timestamp 2016-06-19 21:00:25 -07:00
Matias Fontanini
831111812e Export symbols on Windows dll builds 2016-06-19 09:46:28 -07:00
Matias Fontanini
a3b311fe00 Make get_metadata(Topic) return only topic metadata 2016-06-18 08:45:33 -07:00
Matias Fontanini
99cab2e741 Add examples 2016-06-14 20:07:34 -07:00
Matias Fontanini
a055768f5a Document more classes 2016-06-12 20:14:40 -07:00
Matias Fontanini
eed3ac270a Add license and README file 2016-06-05 18:19:23 -07:00
Matias Fontanini
82393b558e Add offset commit and delivery report callbacks 2016-05-31 07:26:31 -07:00
Matias Fontanini
4475209ce1 Add first producer test 2016-05-22 19:47:23 -07:00
Matias Fontanini
1c51bb72f4 Add Consumer::poll 2016-05-21 19:51:50 -07:00
Matias Fontanini
4f50122393 Add initial consumer code 2016-05-21 19:31:24 -07:00
Matias Fontanini
61253e4f42 Add Message class 2016-05-17 19:25:49 -07:00