Page 1 of 1

Azure -Funktion - Kafka -Trigger - Zertifikatpfad

Posted: 07 Apr 2025, 05:26
by Anonymous
Ich erstelle eine Azure -Funktion mit Kafka -Trigger mit Java, um Daten aus einem Cluster Kafka zu konsumieren.

Code: Select all

Microsoft.Azure.WebJobs.Host: Error indexing method Functions.KafkaTriggerReceiveResponse. Microsoft.Azure.WebJobs.Extensions.Kafka:  is not a valid file location
< /code>
¿Wie beziehe ich mich auf den Zertifikatpfad? Für Parameter sslCertificatelocation, sslkeyLocation. < /P>
@KafkaTrigger(
name = "kafkaMeetingTrigger",
topic = "topicName",
brokerList = "%BrokerList%",
cardinality = Cardinality.ONE,
sslCertificateLocation = "%KafkaCertPath%",
sslKeyLocation = "%KafkaCertPath%",
protocol = BrokerProtocol.SSL,
dataType = "binary",
consumerGroup="%ConsumerGroup%") byte[] kafkaEventData,