locked
[Azure Event Hub] Difference between two connections string RRS feed

  • Question

  • Hello,

    I try to connect my kafka to an eventhub. I follow steps on official microsoft tutorial , Integrate Apache Kafka Connect support on Azure Event Hubs (Preview)

    But in file configuration ( connect-distributed.properties ) i don't understand a little part.

    In this line sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="{YOUR.EVENTHUBS.CONNECTION.STRING}";

    What is the difference between the $ConnectionString and YOUR.EVENTHUBS.CONNECTION.STRING ?

    Best Regards.

    Briac


    Thursday, March 19, 2020 4:15 PM

All replies

  • Hello Briac,

    $connectionString is Username (Key) whereas YOUR.EVENTHUBS.CONNECTION.STRING is the actual connectionstring of your EventHub Namespace (value).

    Hope this helps!

    Thursday, March 19, 2020 6:33 PM
  • Hello KetanChawda,

    First, thanks for your reply.

    To precise, this is $connectionString ? :

    

    Best Regards,

    Briac


    • Edited by BriacOCD Friday, March 20, 2020 9:24 AM
    Friday, March 20, 2020 9:22 AM
  • Yes you are correct.
    Friday, March 20, 2020 8:09 PM