Тёмный

Azure Event Hub Tutorial | Big data message streaming service 

Подписаться
Просмотров 168 тыс.
% 2 480

Azure Event Hubs is highly scalable big data event processing service capable of processing millions of events per second.
This episode will deep dive into Event Hub basics, partitions, namespaces, shared access signatures, even hubs, consumer groups and more!
Source code for demos: github.com/MarczakIO/azure4everyone-samples/tree/master/azure-eventhubs-introduction
In this episode live demo of
- Creating and managing namespaces and even hubs
- Sending data with .NET SDK
- Sending data with Logic Apps
- Receiving data with .NET SDK
Next steps for you after watching the video
1. Azure Event Hubs overview
- docs.microsoft.com/en-us/azure/event-hubs/event-hubs-about?WT.mc_id=AZ-MVP-5003556
2. Creating event hubs in portal
- docs.microsoft.com/en-us/azure/event-hubs/event-hubs-create?WT.mc_id=AZ-MVP-5003556
3. Even Hub terminology
- docs.microsoft.com/en-us/azure/event-hubs/event-hubs-features?WT.mc_id=AZ-MVP-5003556
4. Throughput units and auto-inflate
- docs.microsoft.com/en-us/azure/event-hubs/event-hubs-scalability?WT.mc_id=AZ-MVP-5003556
5. Authentication and authorization with Event Hubs
- docs.microsoft.com/en-us/azure/event-hubs/authorize-access-event-hubs?WT.mc_id=AZ-MVP-5003556
6. Event Hubs FAQ
- docs.microsoft.com/en-us/azure/event-hubs/event-hubs-faq?WT.mc_id=AZ-MVP-5003556
### Want to connect?
- Blog marczak.io/
- Twitter MarczakIO
- Facebook MarczakIO
- LinkedIn www.linkedin.com/in/adam-marczak/
- Site azure4everyone.com

Наука

Опубликовано:

 

12 май 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 240   
@harithik1
@harithik1 3 года назад
A 3hr Pluralsight video = 30 mins of your video. Well done.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
The greatest complement! Thanks! :)
@pesetskyps
@pesetskyps 3 года назад
@@AdamMarczakYT True story. I thought the same watching your video about App insights
@Tom-sl7ni
@Tom-sl7ni 3 месяца назад
I love the way you explain. No distracting or unnecessary information, the tone of voice makes it easy to listen, and the slides help to understand the complex concepts of Azure Event Hubs. 👍 Thanks
@franciscovilches7424
@franciscovilches7424 Год назад
this is such great content. structured very well and explained in very simple terms. It's perfect for anyone starting out with EventHub. Thank you for this! subscribed
@shovonku
@shovonku 3 года назад
Fantastic presentation Adam. To the point without any unnecessary detail.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Glad it was helpful!
@AdamMarczakYT
@AdamMarczakYT 4 года назад
⚠ Attention ⚠ I was pointed out that there is a small mistake in dotnet package adding commands. Both Azure.Messaging.EventHubs.Producer and Azure.Messaging.EventHubs.Consumer are not separate packages as such they don't need to be added specifically. They are part of Azure.Messaging.EventHubs package. You will see during video error in the console when adding them. Github repo is updated. As per very good comment from user hellhax, please note that Auto-inflate feature is "auto-scaleUP" not auto-scaling (up and down). I oversimplified the explanation here. If you want automatic scaling up and down, you would have to add some custom logic!
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Will update this in future if MS adds full auto scaling features to event hubs. :)
@georgetuccio6053
@georgetuccio6053 Год назад
Just finished your Event Hub Tutorial and very much enjoyed it. Excellent. I wish you would've also dived into Autoscaling and Geo-replication with region pairing. You only mentioned them at the end but didn't address them. I was looking for a good tutorial on Event Hub and found this. Excellent job. I see you have some other, related videos as well which I will study as well. Thank you Adam.
@anirbanmandal4788
@anirbanmandal4788 3 года назад
All of your videos are extremely helpful. Very informative. Clear presentation. Absolutely marvellous. Thanks a lot.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Glad you like them! Thank you :)
@maitreyeekar7509
@maitreyeekar7509 3 года назад
Awesome Adam!! At first I was not able to understand from where I should start but watching your video really helped me! Also, I was able to do hands-on for this! Thanks Adam for this video!! Hope to see more videos :)
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Glad I could help!
@apsrain
@apsrain 3 месяца назад
Welldone ! Your video covers the key concepts and cuts all the noise ! Much appreciated
@HarshalGeet
@HarshalGeet 3 года назад
So I have Udemy and Pluralsight both subscription - But man Hats Off. You make it some simple and crystal clear - Just what is needed and with needed details. Thanks a lot
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Thank you, glad to help out :)
@martinshiveral6604
@martinshiveral6604 2 года назад
Great content, very well presented Adam! Keep up the great work.
@Marcelk86
@Marcelk86 2 года назад
what a talented guy - high quality content - excellent explanations!
@mohamedgalal3198
@mohamedgalal3198 2 года назад
Very informative thanks Adam .. just little comment to be considered as mentioned in the documentation "Auto-inflate does not automatically scale down the number of TUs when ingress or egress rates drop below the limits."
@Jamesatighe
@Jamesatighe 2 года назад
Really nice overview of Event Hubs! Well done and informative! Subscribed! :)
@afroinfotech6705
@afroinfotech6705 3 года назад
Great video Adam, Thank you. However, there are some unclarity 1. at 5'15, Throughput units represent the number of 10 k events or 1mb messages per sec. We can get a max of 20k events per sec or 20mb msgs per sec 2. at 18', you can have up to 20 consumer groups per event hubs (NOT partitions). The partition is just for horizontal scaling of the data across multiple nodes in the event hubs 3. at 18.15' it is advised to have one reader per partition in a Single consumer group (if not the consumer application has to handle dups). However, multiple consumer groups (with different readers) can read the same partition of an event hub
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Great comments. I checked those times and I see how I could be more precise at those times. For point 3 I did say it's not recommended to have more readers than partitions as per docs. You can have less, but you are 100% correct that ideally you should have 1 to 1 ratio of consumers to partitions. For point 2 I said 1 to 20 consumer groups, but I think I said mistakenly we've seen that when we created namespace which could be confusing. Thanks for the pointers :) Will make sure to keep an eye for the details.
@ashishdeora8522
@ashishdeora8522 2 года назад
This is the best video I got on this topic. I am going bananas for last 2 days. This is simply awesome
@samraja
@samraja 2 года назад
Thanks for the great Video. It would have taken several days if I want to learn from the documents from Microsoft site. But this one helped to learn in hours.
@padmanathanramasamy8354
@padmanathanramasamy8354 2 года назад
Very interesting video with clear explanation. I always recommend your video to my friend and colleague if they want to start learning Azure. Can you show a example in Event Hub like 1) Two consumer were reading the data in different time internal. 2) How do we can configure a message to publish the message to specific set of consumer.
@VBA4u
@VBA4u 2 года назад
Thanks Adam very well presented and explain in simple language.
@NIYANTAjmp
@NIYANTAjmp 3 года назад
Very concise and effective video. Great work
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Much appreciated!
@vekzdran
@vekzdran 3 года назад
Very good work Adam. Thank you honestly.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
My pleasure!
@digvijaykumar8923
@digvijaykumar8923 2 года назад
thankyou so much adam i cannot tell you how much this video help me , i am stuck in something and this video slove that. thanks man.
@mallikarjunamatam9782
@mallikarjunamatam9782 3 года назад
Awesome, great presentation. Thanks Adam.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Glad you liked it!
@rafae111111
@rafae111111 4 года назад
Great presentation! Much appreciated :)
@AdamMarczakYT
@AdamMarczakYT 4 года назад
My pleasure!
@undefined_io_
@undefined_io_ 6 месяцев назад
awesome. First I watch your video then I go to Microsoft Learn documentation. Best way to retain knowledge.
@MegaJagveer
@MegaJagveer 2 года назад
Amazing video and great instructor. Keep it up!!
@AdamMarczakYT
@AdamMarczakYT 2 года назад
Thanks, will do!
@RainLaw
@RainLaw 4 года назад
Fantastic presentation, good job!
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Thank you very much!
@bergimusic7726
@bergimusic7726 3 года назад
This is very good and clear, congrats!
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Thanks a lot!
@danielesalvigni
@danielesalvigni 2 года назад
WHat a beautiful perfect introduction :), thank you!
@thiagus4056
@thiagus4056 4 года назад
Good presentation! Articulated very well.. Thank you!
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Glad it was helpful!
@anshumanpandey7500
@anshumanpandey7500 3 года назад
Awesome presentation... short and crisp 👍👍
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Thanks a lot 😊
@adamzachary6947
@adamzachary6947 2 года назад
Great demo, Thanks Adam
@petercheung63
@petercheung63 4 года назад
This video is so great, thanks Adam
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Glad you liked it!
@flaviucristian3658
@flaviucristian3658 Год назад
Great video! keep up the good work!
@mekasamshaikh
@mekasamshaikh 4 года назад
Good one...nice clean detailing of topic..Thanks a lot!
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Glad you liked it 😁
@run-forrest-run
@run-forrest-run 3 года назад
Thanks again Adam, really good content.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Cheers! Appreciated!
@arupnaskar3818
@arupnaskar3818 4 года назад
Lots of thanks mr. Adam.. very very helpful tutorials ..👌
@AdamMarczakYT
@AdamMarczakYT 4 года назад
My pleasure!
@takon100
@takon100 9 месяцев назад
This was very clear! Thank you
@jamshadm
@jamshadm 3 года назад
Nicely Explained...And very interesting and informative..Thanks a lot..You saved my time..
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Glad to hear that
@leandroezequielmolinari9551
@leandroezequielmolinari9551 3 года назад
Hi Adam, how are you? just to say thank you! your azure video tutorials are really good!
@n.s.karthik5628
@n.s.karthik5628 2 года назад
wonderful demo
@saronyobose
@saronyobose Год назад
You are so clean in your description .
@buguannishi
@buguannishi 2 года назад
Great video Adam
@antirus5481
@antirus5481 2 года назад
Nicely explained, keep it up 👍
@mohinderkaur6671
@mohinderkaur6671 3 года назад
Great tutorial - Thanks
@AdamMarczakYT
@AdamMarczakYT 3 года назад
You're welcome!
@philburtonfrench
@philburtonfrench 4 года назад
Great work Adam, really useful video. I'm still a little unclear as to the purpose of Consumer Groups
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Thanks Phil! Think of consumer groups like separate applications that need to read your entire stream of data from end to end. Consumers in a consumer group are processes within the same application. This design allows for maximum parallelization.
@vishnusharma1402
@vishnusharma1402 2 года назад
Excellent explanation in short vedio.
@domagojhorvat2646
@domagojhorvat2646 2 года назад
Adam, thanks for an awesome explanations! Quick question...what are the options if we run into situation when our consumers can't keep the pace with producers and need to scale out to multiple instances (a lot of i/o on consumer side, e.g.)? what are the options to make sure there are no duplicate hadlings? tnx!
@andriizilnyk4927
@andriizilnyk4927 Год назад
Thanks for your work❤
@rn9085
@rn9085 3 года назад
Thanks, that helped me a lot!
@AdamMarczakYT
@AdamMarczakYT 3 года назад
You're welcome!
@malohatibrohimovna2939
@malohatibrohimovna2939 3 года назад
thanks, Adam, for a concise and powerful tutorial! I would like to use Java to read the events from an event hub and to send them to an IoT Hub. Do you have something similar or could you recommend me some other source?
@bartosz9476
@bartosz9476 11 месяцев назад
Dzięki za to video!
@arvindpattar155
@arvindpattar155 3 года назад
precise and crisp.. well narrated.
@arvindpattar155
@arvindpattar155 3 года назад
few issues resolved like dotnet add package Azure.Messaging.EventHubs.Processor --version 5.2.0, requires a version number to install the packages and to build
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Cool! Thanks for letting me and others know :)
@mcelona71
@mcelona71 3 года назад
Good Job, Adam!!!
@AdamMarczakYT
@AdamMarczakYT 3 года назад
my pleasure!
@MrCybergoku
@MrCybergoku 3 года назад
Thanks , very clear !
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Glad it helped!
@samatanarvankar1211
@samatanarvankar1211 3 года назад
Compact and nicely explained. Please make a video for building micro services.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Thanks! Appreciated :) noted the idea.
@AaronHoffman
@AaronHoffman 4 года назад
Great overview, good balance of information and demos
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Much appreciated!
@mischameyer1012
@mischameyer1012 3 года назад
Great video!! 👍
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Thank you! 👍
@OpTechMarketing
@OpTechMarketing 3 года назад
@adam ... Thanks for a well put together tutorial.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
My pleasure!
@marlonmorales8672
@marlonmorales8672 2 года назад
Very helpful tutorial sir Adam. Just wondering if there's a way to test event fetching without implementing and using the SDK. To test it via API call using postman for example?
@maunico123
@maunico123 9 месяцев назад
Thank you brother.
@samtsai8369
@samtsai8369 3 года назад
super clear!
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Thank you! :)
@leandroqueirozdossantos9434
@leandroqueirozdossantos9434 6 месяцев назад
nice content. Congrats
@vedantshirodkar
@vedantshirodkar 2 года назад
thanks Adam for clean explanation. Can you explain what is the role of epoch in event hubs ? I went through few articles but didn't quite got it. :/
@alwaseem5309
@alwaseem5309 3 года назад
Way too Good. Keep it up.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Thanks a lot 😊
@GG-uz8us
@GG-uz8us 4 года назад
Very informative. Thank you. I am a little bit confused how to do checkpoint in Databrick (Notebook) when preforming stream processing from Event Hub?
@AdamMarczakYT
@AdamMarczakYT 4 года назад
That is a great question. I think it's simply using .option("checkpointLocation", "") when using readStream as per spark documentation. spark.apache.org/docs/latest/structured-streaming-programming-guide.html#recovering-from-failures-with-checkpointing
@gnomek101
@gnomek101 Месяц назад
bro, it's great!
@JOHNSONLOBOlobojony
@JOHNSONLOBOlobojony 4 года назад
I am just enjoying your presentations and Demo. they are so clear and to the point. could you help us by covering topics related to AZ 204 certifications as well?
@AdamMarczakYT
@AdamMarczakYT 4 года назад
I'll check what will be my next goal after I will finish az-900 course :).
@Unforgiven2218
@Unforgiven2218 3 года назад
Hello Adam, nice video and very clear explanations. Can we send structured data in the event like JSON ? is there any limit of the size in byte for the event message ?
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Hey, thanks! Yes you can send JSON. For limits and quotas for event hubs check out this doc docs.microsoft.com/en-us/azure/event-hubs/event-hubs-quotas?WT.mc_id=AZ-MVP-5003556
@MiszterTorpedo
@MiszterTorpedo 2 года назад
Great video. Is it possible to set role base access for the consumer groups? I have basic tier so only have the default one and I can't set it for that.
@sorontar1
@sorontar1 3 года назад
IMO it is important to mention that there is a limit of the number of event hubs in the namespace. This essentially means that you can’t use event hubs in the same way as you would use kafka where you could create lots of topics.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Thanks Pawel. In general your remark is very import but not only to event hubs but any service in Azure. Always understand limitations of each service that you are planning to use. This page is great for that docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits?WT.mc_id=AZ-MVP-5003556
@vaasu
@vaasu 4 года назад
Hi Adam, Nice presentation!! I have a question for you. How we can pull data from Server sent Events (SSE) to Azure ? ( Azure Eventhub or Blob storage)
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Hey Please elaborate on your scenario as the description is too generic. If you are talking about azure web applications then you should use Azure Application Insights service.
@hemantchandekar3465
@hemantchandekar3465 2 года назад
Thanks for great learning of EH, can you also add confluent kafka and difference between EH vs CK.
@nayeemuddinmoinuddin2186
@nayeemuddinmoinuddin2186 4 года назад
Thanks Adam for wonderful video on Event Hub. Just a request can you also make a video on Azure IoT Hub.
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Great suggestion! It's on the list :) thanks!
@liborj1997
@liborj1997 Год назад
Hi Adam, thank you for the great video. I wanted to ask you if you have a video about how to configure a VM to send OS logs to the Event Hub. I am struggling to see how to set it up so I can consume the VM's OS logs and send it to Splunk. thank you for your suggestions.
@Gq_Guy7846
@Gq_Guy7846 Год назад
Good Job
@run-forrest-run
@run-forrest-run 3 года назад
@Adam Marczak, I am confused about which criteria should be used for the amount of partitions needed in case of maximal throughput. The official documentation states: "The number of partitions in an event hub directly relates to the number of concurrent readers you expect to have". later the documentation also states: "Choose number of partitions based on the downstream parallelism you want to achieve as well as your future throughput needs." I would think that the partition should be based on the incoming data. Not on the amount of readers (consumers) who are eventually reading the data. Maybe I am missing something here?
@AdamMarczakYT
@AdamMarczakYT 3 года назад
In general all those sentences mean that ideally you should have 1 separate process reading from 1 partition or you might get duplicates while processing. But partitions allow you to scale horizontally across nodes.
@randommoments1263
@randommoments1263 3 года назад
Azure saviour thanks
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Hehe thanks! :)
@dhanunjayreddyvalluru8161
@dhanunjayreddyvalluru8161 3 года назад
Great presentation. I am new to this, still understood. What is the difference between Kafka topic vs event hub. Both has got partitions and consumer group concepts.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Check this stackoverflow response on this stackoverflow.com/questions/63953085/azure-event-hub-vs-kafka-as-a-service-broker
@govthamreddy
@govthamreddy 3 года назад
Thanks for great video. I have one small query i have two partitions in my event hub, Can i trigger two function apps using eventhub trigger with specific partitions?
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Unfortunately seems like default event hub bindings do not have this as configurable property docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-event-hubs-trigger?tabs=csharp&WT.mc_id=AZ-MVP-5003556#configuration
@TheVask21
@TheVask21 4 года назад
thanks for the video Adam, however I was asked to use function app for both producer and consumer so my question is - since function app needs a trigger, is there a way use the event hub as trigger ? in your case, i can use function to push but for consumer how will make consumer to listen which is not a trigger point. or where would you upload the consumer code in Azure ? also in my case i am supposed to use kafka which is configured in a different place.
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Documentation in this case should always be first thing to check. It very nicely explains what you are looking for docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-event-hubs-trigger?tabs=csharp Thanks for watching :) feel free to check my intro into function apps if you are just starting!
@TheVask21
@TheVask21 4 года назад
@@AdamMarczakYT thank you much Adam :)
@Umerkhange
@Umerkhange Год назад
At 29:51 - When you have set the retention period 7 HRS and CAPTURE:ON and TIME WINDOWS: 1 min. Will it still save the event in Azure blob storage and why as our retention period was 7 hours
@BijouBakson
@BijouBakson 2 года назад
Thank you
@govthamreddy
@govthamreddy 3 года назад
Great video.. I have one doubt if I want to handle 20k messages/ second. Do I need to add 20 partitions with 20 Throughput units? Is it one to one ratio?
@AdamMarczakYT
@AdamMarczakYT 3 года назад
It's a little bit more complex than this. Please check this doc as it nicely explains key things to note docs.microsoft.com/en-us/azure/event-hubs/event-hubs-scalability?WT.mc_id=AZ-MVP-5003556
@manisharajan3773
@manisharajan3773 2 года назад
Hey Adam ! I was really expecting that u will create multiple event hubs under single namespace. Could you please explain that?
@olexiyusov1279
@olexiyusov1279 3 года назад
Adam thank you for video! Is packing events in batches a preferred way to send events or we can send them one by one?
@AdamMarczakYT
@AdamMarczakYT 3 года назад
If you send a lot of events very fast then I'd batch them together to reduce networking load.
@prateekkemkar8192
@prateekkemkar8192 4 года назад
I have a question, I’m Sending the events to the event hub using json file and I turned on the capture and I noticed that the file gets stored in ADLS in the format Of .Avro. My first question is the output of event hub always in the format of .avro ? My second question I’m trying to read events from Databricks , should I write my pyspark code keeping in mind that the output is in .avro format ?
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Well, it's up to you to decide what do you want to do with the data later on. Maybe use avro as input and output CSV/parquet or something else. It's entirely up to you. Each format has it's advantages and disadvantages. Best to read about them and then decide. You can also stream data directly to databricks instead of capturing as flat files docs.microsoft.com/en-us/azure/azure-databricks/databricks-stream-from-eventhubs
@neil3507
@neil3507 3 года назад
Hi prateek , were you able to change the format of the stored file ?
@prateekkemkar8192
@prateekkemkar8192 3 года назад
neelima wiyyapu hey Neelima, the events in the event hub will always be stored in ADLS in the .avro format when you turn the capture feature on and we can’t change the format of the file.
@neil3507
@neil3507 3 года назад
@@prateekkemkar8192 thanx for letting me know Prateek !
@shouryaslife3606
@shouryaslife3606 2 года назад
Hi Adam, nice video. I implemented tha same by watching this video. But further I want to read avro files and extract JSON data from body section in avro file. Further I want to send that extracted data in to SQL server DB table. Could you suggest How I can do it? Thanks in advance.
@carl-heinmostert6481
@carl-heinmostert6481 3 года назад
Awesome
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Thanks!
@Zeestack
@Zeestack Год назад
Is there a way that the frontend React application can subscribe to Event Hub?
@neil3507
@neil3507 3 года назад
Wow great explanation..any tutorial on sending msgs from TCP to azure event hub ? So basically I will need a sender application from TCP to azure and a receiver application in azure to capture results ? Or the sender application can directly store into adls ? Am confused
@AdamMarczakYT
@AdamMarczakYT 3 года назад
TCP is a messaging protocol. So it's like a car. You can't move people from the car to the shop. You can move people from the home to the shop using the car. That said, in the video I've shown how to use SDK to send messages to event hub (it actually uses TCP underneath the scenes). Maybe that is your solution. But sender can store directly in the blob if it wants to. It really depends what are you planning to do with that data. Thanks for watching :)
@neil3507
@neil3507 3 года назад
@@AdamMarczakYT can we read from azure event hub and store it directly into our mapr location? Without storing in adls or blob ?
@deepanshuaggarwal7042
@deepanshuaggarwal7042 3 года назад
Hi Adam, are you creating any other azure exam playlist just like AZ900 ?
@fenjin3929
@fenjin3929 3 года назад
Hi, how can you send events from other Azure PasS services ( like DataLake, Data Factory, MySQL, Databricks, etc.) to the Event Hub? Is it possible to customise the events as well, for logging purposes?
@AdamMarczakYT
@AdamMarczakYT 3 года назад
You can use REST API to send events from anywhere :)
@fenjin3929
@fenjin3929 3 года назад
@@AdamMarczakYT Ok, I will try in the near future, not sure how to do that yet (new to Azure). Btw thank you, appreciated ;)
@xavierjohn9
@xavierjohn9 3 года назад
Azure has fixed the UI, now you have to pick at least two partitions.
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Did they? I think it depends on event hub tier whether it's a standard or a basic one. I'll check later :)
@kumoart7767
@kumoart7767 3 года назад
Great tutorial Adam! Do you have any tutorial for send recv in Python also?
@AdamMarczakYT
@AdamMarczakYT 3 года назад
Not yet! Thanks for watching! :)
@misko566
@misko566 4 года назад
thanks for video
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Most welcome :)
@indiautube4915
@indiautube4915 4 года назад
Hi Adam, I do not get one thing. While sending message you do not code anywhere for Storage & Blob. Why it is needed while Reading. Where is the connection between Sender app & StorageBlob
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Hey, good question. At 18:20 I explain what is offset and checkpointing mechanism. When clients read data they need to save offset somewhere so that when they run again they won't start reading from the beginning of the stream, just from where they left off. SDK allows to save offset on blob storage. Remember that Event Hubs are not queues, they always have data for X amount of days, so if your program would fail then you would read everything from the last X days unless you saved checkpoints. When it comes to writing, it's just fire and forget so no need for blob.
@indiautube4915
@indiautube4915 4 года назад
@@AdamMarczakYT Thanks for the clarification and reply
@satish1012
@satish1012 5 месяцев назад
If i need to order message as per the order, then i need to use partition key . But if i use the partition , all data will land in same partition which could be a problem again Basically how do maintain order across the partitions
@MrPrateek03
@MrPrateek03 4 года назад
Azure.Messaging.EventHubs.Producer is a invalid package and you also have an error while installing this
@AdamMarczakYT
@AdamMarczakYT 4 года назад
Oh! Well spotted my friend. I somehow did this both for Producer but also Consumer namespace. I think I just grabbed using statements without thinking and put dotnet add package as a list. Unfortunately VSO doesn't show red for errors in console so I didn't notice my mistake. Too bad I can't add overlay to the existing video to correct this. Thanks for that. I already updated github repo samples! I added this as pinned comment on top so people hopefully take notice. As a multi-year .NET developer I'm ashamed of such silly mistake.
@ravikumarkumashi7065
@ravikumarkumashi7065 Год назад
Great tutorial❤ is it possible you make vedio on connecting to azure event hub using azure service principal without using shared access key