Skip to content

Commit

Permalink
version 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
plicease committed Jul 26, 2019
1 parent d487492 commit 5fa9fff
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Revision history for Kafka-Librd

0.12 2019-07-26 15:25:57 -0400
- Added timestamp method (gh#10, gh#14, eserte++)

0.11 2019-07-22 09:31:39 -0400
- Fix memory leak (eserte++ gh#13, gh#16)

0.10 2019-02-09 10:01:17 -0500
- New maintainer Graham Ollis <plicease@cpan.org>
- Fix compatability with Perls older than 5.8.9
Expand Down
10 changes: 10 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,16 @@ Kafka::Librd::Message
payload
return message payload

timestamp(\$tstype)
return message timestamp (milliseconds since UNIX epoch)

The $tstype argument is optional, and if present, it should be a scalar
reference. It will be filled with one of the following values:

Kafka::Librd::RD_KAFKA_TIMESTAMP_NOT_AVAILABLE
Kafka::Librd::RD_KAFKA_TIMESTAMP_CREATE_TIME
Kafka::Librd::RD_KAFKA_TIMESTAMP_LOG_APPEND_TIME

CAVEATS
Message offset is truncated to 32 bit if perl compiled without support
for 64 bit integers.
Expand Down
2 changes: 1 addition & 1 deletion lib/Kafka/Librd.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Kafka::Librd;
use strict;
use warnings;

our $VERSION = '0.10';
our $VERSION = '0.12';

require XSLoader;
XSLoader::load('Kafka::Librd', $VERSION);
Expand Down

0 comments on commit 5fa9fff

Please sign in to comment.