Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

How to filter the Event Data from the EventHub when consuming data?

$
0
0

We know the EventHub has the filter function. I'm designing a new solution for a customer and it looks like EventHubs are great for sending and receiving our near-realtime data. Downside is when receiving the data, we receive all data of all our devices in the world. Most of the time, our clients only want to see data of one (or a few) device. We could of course filter the data by ourselves, client side, but this would cost a lot of bandwith.

From theFeedBack, it said Filters will be tied to Consumer Groups. And I Check the Consumer Group Class, it has the Create Time and Update Time, but it has no set Function,

So how to use the Consumer Group to filter Event Data during the Receiving data?

Because in our solution, we use the EventHubHost to consume data, if our service bus worker role restart, we will receive all data in the EventHub, but we only want to receive the latest data,

If we use the EventHubHost to consume data, can we also to filter data? If yes, how to do?

Thanks very much!


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>