Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions extensions/Worker.Extensions.Kafka/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
- My change description (#PR/#issue)
-->

### Microsoft.Azure.Functions.Worker.Extensions.Kafka <version>
### Microsoft.Azure.Functions.Worker.Extensions.Kafka 3.9.0
Comment thread
jainharsh98 marked this conversation as resolved.
Outdated

- <entry>
- Added Schema Registry Attributes for Trigger and Output bindings
15 changes: 15 additions & 0 deletions extensions/Worker.Extensions.Kafka/src/KafkaOutputAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,20 @@ public KafkaOutputAttribute(string brokerList, string topic)
/// being sent to cluster. Larger value allows more batching results in high throughput.
/// </summary>
public int LingerMs { get; set; } = 5;

/// <summary>
/// URL for the Avro Schema Registry
/// </summary>
public string SchemaRegistryUrl { get; set; }

/// <summary>
/// Username for the Avro Schema Registry
/// </summary>
public string SchemaRegistryUsername { get; set; }

/// <summary>
/// Password for the Avro Schema Registry
/// </summary>
public string SchemaRegistryPassword { get; set; }
}
}
15 changes: 15 additions & 0 deletions extensions/Worker.Extensions.Kafka/src/KafkaTriggerAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,21 @@ public KafkaTriggerAttribute(string brokerList, string topic)
/// </summary>
public long LagThreshold { get; set; } = 1000;

/// <summary>
/// URL for the Avro Schema Registry
/// </summary>
public string SchemaRegistryUrl { get; set; }

/// <summary>
/// Username for the Avro Schema Registry
/// </summary>
public string SchemaRegistryUsername { get; set; }

/// <summary>
/// Password for the Avro Schema Registry
/// </summary>
public string SchemaRegistryPassword { get; set; }

/// <summary>
/// Gets or sets the configuration to enable batch processing of events. Default value is "false".
/// </summary>
Expand Down