0

I am using Confluent.Kafka library in C#.Net

But while passing schema registry I need to pass keystore path and keystore password

I don't have any idea how to get path and password from Keystore on windows.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
amlish
  • 3
  • 3
  • Just to make sure I understand you correctly, you want to retrieve a password from windows and pass it to kafka client? Do you want to log on to kafka in your client? – Siraf Oct 12 '22 at 08:58
  • Hi Siraf , need to password as sslkeystorepassword to kafka while making request – amlish Oct 12 '22 at 16:02
  • You need to create your SSL certs with a password. We cannot give it to you since we didn't make the certs. Refer https://github.com/confluentinc/confluent-kafka-dotnet/tree/master/examples/TlsAuth – OneCricketeer Oct 12 '22 at 18:31
  • 1
    Thanks @OneCricketeer it helped me to get the right direction but now getting error 40401 i.e. subject ‘xxx-xxx-acc-jason-key’ not found – amlish Oct 14 '22 at 04:37
  • Well, is you producer actually using Avro keys? Those aren't very common, so maybe your consumer shouldn't use Avro for the KeyDeserializer property? – OneCricketeer Oct 14 '22 at 16:33
  • @OneCricketeer Yes producer is using Avro keys.key is registred at consumer end but not getting what is going wrong also made auto schema register = false – amlish Oct 18 '22 at 05:42

0 Answers0