-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: Feature/kafkaoptions kwargs #4902
base: master
Are you sure you want to change the base?
feat: Feature/kafkaoptions kwargs #4902
Conversation
Signed-off-by: zerafachris PERSONAL <zerafachris@gmail.com>
Signed-off-by: zerafachris PERSONAL <zerafachris@gmail.com>
Signed-off-by: zerafachris PERSONAL <zerafachris@gmail.com>
Signed-off-by: zerafachris PERSONAL <zerafachris@gmail.com>
Signed-off-by: zerafachris PERSONAL <zerafachris@gmail.com>
With commit "1ef5d0afb35e3dd2f9f8aaee6da0a28f88982a82" I was able to add the proto definition for kafka_settings as a |
Signed-off-by: zerafachris PERSONAL <zerafachris@gmail.com>
I'll try to pull this down on Friday, sorry traveling for work. |
Hey @zerafachris mind taking a look? did you still need this? I was planning on cutting a release for it and wanted to make sure we get this in if needed. |
Signed-off-by: zerafachris PERSONAL <zerafachris@gmail.com>
Hi @franciscojavierarceo, I resolved the conflicts. Ideally, yes, I would be keen to use this. Unfortunately, I am still unable to fix the unit tests. The errors are:
|
I'll take a look at this today 👍 |
@zerafachris can you please sign the commit so that DCO check pass on PR and also rebase it ? I can help with the unit tests failures. |
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.
ACK pending comments.
@@ -223,16 +224,20 @@ class DataSource(google.protobuf.message.Message): | |||
@property | |||
def watermark_delay_threshold(self) -> google.protobuf.duration_pb2.Duration: | |||
"""Watermark delay threshold for stream data""" | |||
@property | |||
def kafka_settings(self) -> feast.core.DataFormat_pb2.StreamFormat: |
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.
The unit tests are failing with the kafka_settings being of type feast.core.DataFormat_pb2.StreamFormat
. The from_proto function here expects the kafka_settings (and as a data source config ) of type feast.core.DataFormat_pb2.DataSource
.
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.
If the code is rebased, the link mentioned here may point to a different code.
So being particular here:
The here
link points to a kafka_settings
parameter of the from_proto
function in the module sdk/python/feast/data_source.py
and class KafkaSource
.
What this PR does / why we need it:
This is an attempt to introduce additional kafka settings to the Kafka stream as raised by #4894
Which issue(s) this PR fixes:
Not applicable.
Misc
Unfortunately, this is a partial solution and am looking for support on this.
I have made most of the necessary changes but unit tests are failing due to:
Any support is greatly appreciated