You are not logged in.

#1 2017-03-19 15:05:31

vapukov
Member
445 posts

vapukov said:

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

  mini_Screen_Shot_2017-03-20_at_2.59.05_AM.png.png    mini_Screen_Shot_2017-03-18_at_10.20.41_AM.png_20170319-0708.jpeg  mini_Screen_Shot_2017-03-18_at_10.20.26_AM.png_20170319-0709.png

Last edited by vapukov (2017-03-19 15:09:35)

Offline

#2 2017-03-20 09:07:56

tsteinborn
Talend Team


tsteinborn said:

Re: Route from MQTT with ssl and authorisation

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

Offline

#3 2017-03-20 15:43:27

vapukov
Member
445 posts

vapukov said:

Re: Route from MQTT with ssl and authorisation

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?

Offline

#4 2017-03-20 18:27:57

tsteinborn
Talend Team


tsteinborn said:

Re: Route from MQTT with ssl and authorisation

Vladimir,
are you talking about offset in Kafka or MQTT?
Thomas

Offline

#5 2017-03-20 23:11:08

vapukov
Member
445 posts

vapukov said:

Re: Route from MQTT with ssl and authorisation

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:


mini_Screen_Shot_2017-03-21_at_10.44.52_AM.png.png

but tests confirm - it always start from current messages and no chances to read topic in past.
will read more about MQTT

Last edited by vapukov (2017-03-20 23:11:42)

Offline

#6 2017-03-21 09:10:21

tsteinborn
Talend Team


tsteinborn said:

Re: Route from MQTT with ssl and authorisation

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

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy