Log shows some errors.

Re: [balenaForums] [balenaCloud] Log shows some errors.
Hello Carlo,

Many thanx for your help.

Yes, it was the issue regarding same ClientID as I copied most of 2nd script

contain from the 1st script.

Actually both issues were connected!

It would be good if somewhere at your manual example you may point it as a friendly advice.

I gave it a go for over 3 hours now and it works.

Well done.

May I asked once the topic closes - will the all data gets deleted?

I’m going to look AWS SDK for .Net now.

Alex

cmfcruz balena team
May 21Hi Alex,
I haven’t seen your scripts as it was not attached to the forums but it seems to me that your problem is related to this Stackoverflow thread I found where a user was having problems publishing using the AWS IoT SDK MQTT client to an existing topic using a different client. Please click the link below to follow the discussion thread there:
stackoverflow.com
Python AWS iot SDK subscription**
python-3.x, aws-sdk**

asked by Pruthvi Raj on 02:42PM - 11 Nov 18 UTC

I hope this helps you with your problem in publishing from your PC.

All the best,

Carlo

Hi, I am not sure about your last question - “will the all data gets deleted”. Can you please explain more?
Thanks,
Zahari

Re: [balenaForums] [balenaCloud] Log shows some errors.
Hello Zahari,

thank you for your reply.

Sure, I need to understand how long the data

The only options as I see could be:

  • stays forever at AWS,

  • not stored at AWS all using such demo mode,

  • stored until topic is published,

  • some other option.

May I somehow get access and read old values say from yesterday or week ago

been published under certain topic ?

If not, what I do need to do to be able to save every transaction an IoT device sent

to AWS ?

Will it be sort of AWS MYSQL with possibility to query any day and time to get a stored

transaction.

Alex

majorz balena team

May 21Hi, I am not sure about your last question - “will the all data gets deleted”. Can you please explain more?

Thanks,

Zahari

Hey Alex,

I would advise to look into the documentation of AWS IoT regarding the data retention policy of their MQTT broker. A good starting poing would be this page. Hope you sort everything out!