Skip to content
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

Add missing attributes for kafka trigger #2933

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aloiva
Copy link
Contributor

@aloiva aloiva commented Jan 24, 2025

Issue describing the changes in this PR

To support changes made to Kafka Extension here - Azure/azure-functions-kafka-extension#534. Currently in draft stage till the changes in Extension are made live.

Adds two attributes

  • KeyDataType
  • KeyAvroSchema

Adds a data model to go with KeyDataType:

  • KafkaMessageKeyDataType

@aloiva aloiva changed the title Add attributes for kafka trigger Add missing attributes for kafka trigger Jan 24, 2025
/// If KeyAvroSchema is set, this value is ignored and the key will be serialized using Avro.
/// The default type is System.String.
/// </summary>
public KafkaDataType KeyDataType { get; set; } = KafkaDataType.String;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where and how is value DataType configured

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