-
Notifications
You must be signed in to change notification settings - Fork 199
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
[Merged by Bors] - feat: inject timestamp to record in SmartModule context #3389
[Merged by Bors] - feat: inject timestamp to record in SmartModule context #3389
Conversation
61d854f
to
e917651
Compare
Looks like Im not encoding/decoding entire bits...
|
ca4f5a8
to
815652e
Compare
we may need to additional timestamp to compute age of the record |
Roger that! |
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.
I think that I approved this PR by error. Commenting to remove my approve review
6834a09
to
0aa31e1
Compare
SmartModuleInput
SmartModuleInput
8b96bae
to
c35945d
Compare
SmartModuleInput
199ed62
to
978870f
Compare
291f504
to
c27435d
Compare
c27435d
to
07f3450
Compare
1990028
to
c560775
Compare
c560775
to
e0041f3
Compare
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.
LGTM, just need to make tests green
f677d3c
to
e870f61
Compare
e870f61
to
fc1083d
Compare
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.
LGTM
bors r+ |
Introduces the `base_timestamp` and a new `Record` wrapper for SmartModules called `SmartModuleRecord` which holds the `base_timestamp` and `base_offset`. Along with changes to introduce the new fields, some API changes are also needed to move into an extensible API, the `fluvio_smartmodule::Record` will be migrated to `fluvio_smartmodule::SmartModuleRecord`. Existing SmartModules will continue to work, but a compile time warning will be shown: ``` warning: use of deprecated method `fluvio_smartmodule::dataplane::smartmodule::SmartModuleInput::into_legacy_records`: use SmartModuleRecord instead ```
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Introduces the
base_timestamp
and a newRecord
wrapper for SmartModules calledSmartModuleRecord
which holds thebase_timestamp
andbase_offset
.Along with changes to introduce the new fields, some API changes are also needed to
move into an extensible API, the
fluvio_smartmodule::Record
will be migrated tofluvio_smartmodule::SmartModuleRecord
.Existing SmartModules will continue to work, but a compile time warning will be shown: