Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
vapukov
Master II
Master II

Route from MQTT with ssl and authorisation

Found some trouble with MQTT component
if used OR ssl OR name/password authorisation - all work fine,
but if enable both - it not work
the problem is, Talend use the same name for password variable

decryptedPassword_cMQConnectionFactory_1


and for user credentials and for KeyStore (for TrustStore - variable name different)
Solution - is not use authentication in Fabric, and add UserName/Password as parameters in cMQTT component
error same in 6.2.2 and 6.3.1
  0683p000009MDlB.png    0683p000009MDkd.jpg  0683p000009MDlG.png

Labels (2)
5 Replies
Anonymous
Not applicable

that's indeed a bug. I logged it as  https://jira.talendforge.org/browse/TESB-19115
Thomas
vapukov
Master II
Master II
Author

Thanks Tomas!
it work as I describe, but good to have it fixed in feature
If I can ask You - any method to manage offset with MQTT? I just can't found - how
What I mean - other tools such as NiFi allow or continue session after restart, or reset it and start from scratch (in case of re-loading topic data). Is it possible?
Anonymous
Not applicable

Vladimir,
are you talking about offset in Kafka or MQTT?
Thomas
vapukov
Master II
Master II
Author

You are right, look like it my wrong understanding topics in MQTT
so the question it cancelled
I just was not correct understand this settings:

0683p000009MDRR.png
but tests confirm - it always start from current messages and no chances to read topic in past.
will read more about MQTT
Anonymous
Not applicable

For MQTT you can only read the latest from the queue. In particular of you acknowledge the message is "gone".
Kafka operates differently where you have a ringbuffer. Thus, Kafka allows to resume reading from a different offset then last.
HTH
Thomas