How can I define a consumer group into Azure IoT Hub? - azure-iot-hub

In order to consume data on Azure IoT Hub into Microsoft Power Bi I have created a Stream Analytics job. From the documentation, i found out that "Each stream Analytics Job input should be configured to have its own consumer group". So i have to create into my Azure IoT Hub a consumer group. How can I define a consumer group into Azure IoT Hub?

In order to create a new consumer group go to your Iot Hub instance in Azure.
Go to Endpoints tab, choose the correct Built-in endpoints, in case it's device to cloud messages it should be Events (message/Events).
There you can add a consumer group.

Related

Can RabbitMQ SDK be used to operate Azure Service Bus like Kafka for EventHubs?

Azure EventHubs (on tier standard) allows you to use the Kafka SDK. Does Azure Service Bus has a similar feature for RabbitMQ given that both work with AMQP?

Send messages from Azure Service Bus to RabbitMQ

I can see that it's possible to send messages from RabbitMQ to Azure Service Bus - see here.
Wondering if it's possible to do the reverse i.e. send messages from Azure Service Bus to RabbitMQ? Essentially trying to integrate with third party...

Where can I find azure IoT device messages?

I have sent messages to Azure IoT Hub device called dev1, I could not see the messages in IoT Hub but, I can read the messages only when the client application is online when the sender is sending messages. Azure IoT Hub supports only online messaging and no offline messaging? If offline message support is there, where are these messages are stored, I couldn't see the messages in IoT Hub.
When I configure the custom endpoint as Blob storage, I can see messages are stored in blobs.
Please help me on this.
Thanks in advance
If I understand correctly you are looking for reading the messages directly on IoT Hub portal UI. If that is the case, then one of the things which you can make sure about D2C Messages in IoT Hub portal (UI perspective) is looking at the Metrics chart (See below Images). For reading the actual payload you have to make use of in-built Event Hub endpoint or routing to other supported endpoints.(You have already mentioned in your scenario-Client/Sender applications, So I think you have already known this method of reading messages)
The Metrics chart atleast tells you that the messages are received in IoT Hub (UI), you can't read them on the Portal(UI).
IoT Hub is built on top of Event Hubs, and that's where your messages will be until you start reading them. They will be stored there for 1 day by default, although you can change that up to 7 days. For more information on retention, please read this page.

Azure IotHub doesn't receiving any messages

I'm just set up my iot hub that should receiving messages from my test device. It work's perfect about one day. On second day when I send messages to this azure service I don't getting any exception but my iot hub doesn't receving any messages. I don't know what is the main problem of that ? Additionaly I have one worker role that handle all messages on event hub processor from this iot hub. Maybe is there any extra settings that stops my iot hub or something more ? I can't find any information on other sites maybe someone have similiar problem ?
As per my understanding,
Your device sends message to IOT Hub
Your worker role reads message from this IOT hub using EHP
If this is the case and you are not receiving messages at EHP than CONSUMER GROUP could be the issue. Basically, IOT hub serves messages per consumer group. By default each IOT Hub has $Default group. If some other service is already reading message from this consumer group than you won't be able to get message.
You can create another consumer group for your worker role. IOT Hub serves same message to each consumer group.

SignalR client connecting to two separate hubs on two separate connections

We are working on a signalR client that needs to connect to a local Hub to which other local users connect and a cloud Hub. The connection to the local Hub will receive messages from the local users and after applying some logic will retransmit the message to the cloud Hub clients. What would be the right way to implement this functionality ? Thanks.