Skip to content

Conversation

@aloiva
Copy link

@aloiva aloiva commented Nov 14, 2025

@aloiva aloiva changed the title Additional configurations for Kafka Trigger and Output feat: additional configurations for Kafka Trigger and Output Nov 14, 2025
: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.
Copy link
Contributor

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,
Copy link
Contributor

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,
Copy link
Contributor

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

@hallvictoria
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants