Azure IoT Hub How to set Epoch Value of an Azure Function

0 votes

So, I have an IoT Hub in Azure that I send messages to, from my Raspberry Pi. An Azure function & a Web App receive these messages, and it works okay, one by one.

The issue that pertains is when I try to receive messages with the Web Application and the Azure function at the same time. I keep getting an exception in the Web Application that says that the Epoch Value of another receiver is 12. The other receiver, here, is my Azure Function.

As I think I've understood, the Epoch value of my Azure Function has to be set to 0, to enable multiple receivers from the same IoT Hub.

My question is how do I set the Epoch value of an Azure Function Event Hub Trigger? And is there another way to work around this?

Feb 21, 2019 in IoT (Internet of Things) by Upasana
• 8,620 points
1,324 views

1 answer to this question.

0 votes

Try using Azure IoT Hub consumer groups, if you have several consuming applications with independent views. They enable multiple consuming applications to each view of the event stream, and to read the stream independently.

answered Feb 21, 2019 by Shubham
• 13,490 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

How to tackle Security Loopholes of IoT Solutions ?

This is pretty off-topic, but I'll supply ...READ MORE

answered Aug 23, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
920 views
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

I want to perform Type Conversion of Date Type Value

Instead of returning return Long.toHexString(date.getTime()); Return following return Long.toHexString(date.getTime()/1000); As correctly ...READ MORE

answered Aug 4, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
820 views
0 votes
1 answer
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,359 views
0 votes
1 answer

How to use the data I receive from Azure IoT Hub?

The payload you receive will be a ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
1,825 views
0 votes
1 answer

Azure - What service to use for Arduino data (iot)

That's because the two services do completely ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
1,083 views
0 votes
1 answer

How to detect presence of a device in a WiFi network?

Finding the mac-address would probably work. Basically, ...READ MORE

answered Nov 16, 2018 in IoT (Internet of Things) by Shubham
• 13,490 points
3,375 views
0 votes
1 answer

How to prevent an application from publishing to a topic?

Devices and applications operate in a topic ...READ MORE

answered Jan 18, 2019 in IoT (Internet of Things) by Shubham
• 13,490 points
744 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP