LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

POST to Kafka broker over TLS

Hi Community,

Details: LV2024 Q3 (64-bit) on Windows 11 using only LV native VI's.

Goal: Streaming messages to Kafka broker at 1 Hz from multiple test-rigs over secure TLS connection.

 

Situation: I setup the code for a secure TLS connection including required certificates, key and pw but I can't get it to work from LabVIEW. I don't receive any error but the messages are not appearing in Kafka. I increased all the timeouts to see if it is waiting somewhere but it runs in under a second. I do receive back 3 certificates in the 'server certificate chain' and it returns the 'bytes written'. The code is attached as a LV enriched PNG.

LV_Post_to_Kafka.png

I verified the TCP connection is open via TNC in the command prompt.
Because it is already taking me quite some time I started in Python as well to validate my certificates and other TLS inputs, and my Python script works. I added the python code in a txt file attachment.

 

Is there anyone that notices an error in my LabVIEW code or maybe something I did different in Python?

Any help appreciated!

 

Download All
0 Kudos
Message 1 of 1
(140 Views)