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 in IoT (Internet of Things) by Upasana
• 7,560 points
29 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 by Shubham
• 12,150 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,260 points
26 views
0 votes
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 3, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
18 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,040 points
48 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,100 points
45 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,260 points
54 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
• 12,150 points
29 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 in IoT (Internet of Things) by Shubham
• 12,150 points
11 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.