-
Notifications
You must be signed in to change notification settings - Fork 71
feat: additional configurations for Kafka Trigger and Output #306
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
base: dev
Are you sure you want to change the base?
Conversation
aloiva
commented
Nov 14, 2025
- Adds configurations for kafka trigger and output.
- Taken from KafkaTriggerAttribute, KafkaAttribute
| :param key_avro_schema: Avro schema for the message key. Used only if a | ||
| generic Avro record should be generated for the key. | ||
| :param key_data_type: Data type of the message key. Valid values: Int, Long, | ||
| String, Binary. Default is String. Ignored if key_avro_schema is set. |
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.
Could you please also add pydocs for the new ssl_ arguments as well here?
| consumer_group: Optional[str] = None, | ||
| avro_schema: Optional[str] = None, | ||
| key_avro_schema: Optional[str] = None, | ||
| key_data_type: Optional[Union[KafkaMessageKeyType, str]] = None, |
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.
Could you set the default value for key_data_type to KafkaMessageKeyType.STRING here since it's given a default value in kafka.py?
| broker_list: str, | ||
| avro_schema: Optional[str] = None, | ||
| key_avro_schema: Optional[str] = None, | ||
| key_data_type: Optional[Union[KafkaMessageKeyType, str]] = None, |
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.
Same as trigger - please set default value here to match kafka.py
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |