-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #735: Event Time support in c++ client #736
Conversation
@@ -71,6 +71,11 @@ class MessageBuilder { | |||
MessageBuilder& setPartitionKey(const std::string& partitionKey); | |||
|
|||
/** | |||
* Set the event timestamp for the message. | |||
*/ | |||
MessageBuilder& setEventTimestamp(uint64_t event_timestamp); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: in C++ code we've been using camelCase for classes and var names, like eventTimestamp
@merlimat cool. I was following the protobuf code convention. I just changed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the java changes - Rest is LGTM.
@@ -73,9 +73,26 @@ | |||
*/ | |||
MessageId getMessageId(); | |||
|
|||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Java changes in C++ Client PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternately just merge the JAva PR and the difference won't be seen in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, but I think you will still need to rebase this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rebased.
This change is adding `event-time` support in c++ and python client. It is based on the change of apache#733
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
retest this please |
This change is part of #732 - adding event time setter and getter in both c++ and python client.