Search code examples
apache-kafkasalesforcekafka-producer-api

SalesForce's URL for Kafka provider


I'm trying to determine the URL for SalesForce as it relates to setting up a Kafka Provider. I'm using Bayeux client that needs a URL to SalesForce for connection:

new KafkaOptions(new Uri(""));

Thanks.


Solution

  • It seems you are using this Kafka library, which has nothing to do with Salesforce, but you give it a string of your Kafka broker addresses, as shown in the examples there.

    Note: That library doesn't look actively maintained and Kafka is not an http protocol so putting http://server:9092 doesn't make sense...

    You might want to checkout confluent-kafka-dotnet instead.