You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
custreamz does not work with kafka oauth configs due to Kafka data source object has a parameter kafka_config of type map[string string]. However, confluent kafka can take 'oauth_cb': functools.partial(function) to get token from the server to connect to Kafka broker.
This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.
Describe the bug
custreamz does not work with kafka oauth configs due to Kafka data source object has a parameter kafka_config of type
map[string string]
. However, confluent kafka can take'oauth_cb': functools.partial(function)
to get token from the server to connect to Kafka broker.https://github.com/rapidsai/cudf/blob/branch-21.10/python/custreamz/custreamz/kafka.py#L30
https://github.com/rapidsai/cudf/blob/branch-21.10/python/cudf_kafka/cudf_kafka/_lib/kafka.pxd#L21
librdkafka's example link: https://github.com/confluentinc/confluent-kafka-python/blob/master/examples/oauth_producer.py
Steps/Code to reproduce bug
Can be replicated by trying to connect to Kafka broker with oauth
Expected behavior
https://github.com/rapidsai/cudf/blob/branch-21.10/python/custreamz/custreamz/kafka.py#L30 should be changed to accept a config of type
map[string,object]
Environment overview (please complete the following information)
The text was updated successfully, but these errors were encountered: