Azure Event Hub Tutorial | Big data message streaming service

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 มิ.ย. 2024
  • 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/azure4ev...
    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/azur...
    2. Creating event hubs in portal
    - docs.microsoft.com/en-us/azur...
    3. Even Hub terminology
    - docs.microsoft.com/en-us/azur...
    4. Throughput units and auto-inflate
    - docs.microsoft.com/en-us/azur...
    5. Authentication and authorization with Event Hubs
    - docs.microsoft.com/en-us/azur...
    6. Event Hubs FAQ
    - docs.microsoft.com/en-us/azur...
    Want to connect?
    - Blog marczak.io/
    - Twitter / marczakio
    - Facebook / marczakio
    - LinkedIn / adam-marczak
    - Site azure4everyone.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 239

  • @harithik1
    @harithik1 3 ปีที่แล้ว +57

    A 3hr Pluralsight video = 30 mins of your video. Well done.

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว +4

      The greatest complement! Thanks! :)

    • @pesetskyps
      @pesetskyps 3 ปีที่แล้ว +1

      @@AdamMarczakYT True story. I thought the same watching your video about App insights

  • @Tom-sl7ni
    @Tom-sl7ni 2 หลายเดือนก่อน

    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

  • @AdamMarczakYT
    @AdamMarczakYT  4 ปีที่แล้ว +7

    ⚠ 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 ปีที่แล้ว +1

      Will update this in future if MS adds full auto scaling features to event hubs. :)

  • @shovonku
    @shovonku 3 ปีที่แล้ว +1

    Fantastic presentation Adam. To the point without any unnecessary detail.

  • @franciscovilches7424
    @franciscovilches7424 ปีที่แล้ว +2

    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

  • @anirbanmandal4788
    @anirbanmandal4788 3 ปีที่แล้ว +1

    All of your videos are extremely helpful. Very informative. Clear presentation. Absolutely marvellous. Thanks a lot.

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว +1

      Glad you like them! Thank you :)

  • @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.

  • @apsrain
    @apsrain 2 หลายเดือนก่อน

    Welldone ! Your video covers the key concepts and cuts all the noise ! Much appreciated

  • @maitreyeekar7509
    @maitreyeekar7509 3 ปีที่แล้ว +2

    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 :)

  • @afroinfotech6705
    @afroinfotech6705 3 ปีที่แล้ว +13

    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 ปีที่แล้ว +5

      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.

  • @HarshalGeet
    @HarshalGeet 3 ปีที่แล้ว +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 :)

  • @Marcelk86
    @Marcelk86 2 ปีที่แล้ว

    what a talented guy - high quality content - excellent explanations!

  • @martinshiveral6604
    @martinshiveral6604 ปีที่แล้ว

    Great content, very well presented Adam! Keep up the great work.

  • @mohamedgalal3198
    @mohamedgalal3198 2 ปีที่แล้ว +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 ปีที่แล้ว

    Really nice overview of Event Hubs! Well done and informative! Subscribed! :)

  • @VBA4u
    @VBA4u ปีที่แล้ว

    Thanks Adam very well presented and explain in simple language.

  • @mohinderkaur6671
    @mohinderkaur6671 3 ปีที่แล้ว +2

    Great tutorial - Thanks

  • @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.

  • @undefined_io_
    @undefined_io_ 4 หลายเดือนก่อน

    awesome. First I watch your video then I go to Microsoft Learn documentation. Best way to retain knowledge.

  • @thiagus4056
    @thiagus4056 3 ปีที่แล้ว

    Good presentation! Articulated very well.. Thank you!

  • @saronyobose
    @saronyobose ปีที่แล้ว

    You are so clean in your description .

  • @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

  • @vekzdran
    @vekzdran 3 ปีที่แล้ว +2

    Very good work Adam. Thank you honestly.

  • @rafae111111
    @rafae111111 4 ปีที่แล้ว +1

    Great presentation! Much appreciated :)

  • @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.

  • @NIYANTAjmp
    @NIYANTAjmp 3 ปีที่แล้ว +1

    Very concise and effective video.
    Great work

  • @adamzachary6947
    @adamzachary6947 2 ปีที่แล้ว

    Great demo, Thanks Adam

  • @mallikarjunamatam9782
    @mallikarjunamatam9782 3 ปีที่แล้ว +1

    Awesome, great presentation. Thanks Adam.

  • @danielesalvigni
    @danielesalvigni 2 ปีที่แล้ว

    WHat a beautiful perfect introduction :), thank you!

  • @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.

  • @mekasamshaikh
    @mekasamshaikh 4 ปีที่แล้ว

    Good one...nice clean detailing of topic..Thanks a lot!

  • @MegaJagveer
    @MegaJagveer 2 ปีที่แล้ว +1

    Amazing video and great instructor. Keep it up!!

  • @arupnaskar3818
    @arupnaskar3818 4 ปีที่แล้ว

    Lots of thanks mr. Adam.. very very helpful tutorials ..👌

  • @RainLaw
    @RainLaw 3 ปีที่แล้ว

    Fantastic presentation, good job!

  • @takon100
    @takon100 7 หลายเดือนก่อน

    This was very clear! Thank you

  • @run-forrest-run
    @run-forrest-run 3 ปีที่แล้ว

    Thanks again Adam, really good content.

  • @anshumanpandey7500
    @anshumanpandey7500 3 ปีที่แล้ว

    Awesome presentation... short and crisp 👍👍

  • @bergimusic7726
    @bergimusic7726 3 ปีที่แล้ว +1

    This is very good and clear, congrats!

  • @petercheung63
    @petercheung63 3 ปีที่แล้ว

    This video is so great, thanks Adam

  • @philburtonfrench
    @philburtonfrench 3 ปีที่แล้ว +1

    Great work Adam, really useful video. I'm still a little unclear as to the purpose of Consumer Groups

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว +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.

  • @flaviucristian3658
    @flaviucristian3658 10 หลายเดือนก่อน

    Great video! keep up the good work!

  • @leandroezequielmolinari9551
    @leandroezequielmolinari9551 2 ปีที่แล้ว

    Hi Adam, how are you?
    just to say thank you! your azure video tutorials are really good!

  • @malohatibrohimovna2939
    @malohatibrohimovna2939 2 ปีที่แล้ว +1

    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?

  • @domagojhorvat2646
    @domagojhorvat2646 2 ปีที่แล้ว +1

    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!

  • @jamshadm
    @jamshadm 3 ปีที่แล้ว +1

    Nicely Explained...And very interesting and informative..Thanks a lot..You saved my time..

  • @vishnusharma1402
    @vishnusharma1402 2 ปีที่แล้ว

    Excellent explanation in short vedio.

  • @n.s.karthik5628
    @n.s.karthik5628 2 ปีที่แล้ว

    wonderful demo

  • @antirus5481
    @antirus5481 2 ปีที่แล้ว

    Nicely explained, keep it up 👍

  • @samatanarvankar1211
    @samatanarvankar1211 3 ปีที่แล้ว +1

    Compact and nicely explained. Please make a video for building micro services.

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว

      Thanks! Appreciated :) noted the idea.

  • @buguannishi
    @buguannishi 2 ปีที่แล้ว

    Great video Adam

  • @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?

  • @andriizilnyk4927
    @andriizilnyk4927 ปีที่แล้ว

    Thanks for your work❤

  • @OpTechMarketing
    @OpTechMarketing 3 ปีที่แล้ว

    @adam ... Thanks for a well put together tutorial.

  • @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 :)

  • @rn9085
    @rn9085 3 ปีที่แล้ว +1

    Thanks, that helped me a lot!

  • @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. :/

  • @bartosz9476
    @bartosz9476 9 หลายเดือนก่อน

    Dzięki za to video!

  • @AaronHoffman
    @AaronHoffman 4 ปีที่แล้ว +1

    Great overview, good balance of information and demos

  • @MrCybergoku
    @MrCybergoku 3 ปีที่แล้ว +1

    Thanks , very clear !

  • @GG-uz8us
    @GG-uz8us 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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

  • @vaasu
    @vaasu 4 ปีที่แล้ว +2

    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.

  • @maunico123
    @maunico123 7 หลายเดือนก่อน

    Thank you brother.

  • @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

  • @JOHNSONLOBOlobojony
    @JOHNSONLOBOlobojony 3 ปีที่แล้ว +1

    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  3 ปีที่แล้ว +1

      I'll check what will be my next goal after I will finish az-900 course :).

  • @mischameyer1012
    @mischameyer1012 3 ปีที่แล้ว

    Great video!! 👍

  • @hemantchandekar3465
    @hemantchandekar3465 ปีที่แล้ว

    Thanks for great learning of EH, can you also add confluent kafka and difference between EH vs CK.

  • @mcelona71
    @mcelona71 3 ปีที่แล้ว

    Good Job, Adam!!!

  • @leandroqueirozdossantos9434
    @leandroqueirozdossantos9434 5 หลายเดือนก่อน

    nice content. Congrats

  • @olexiyusov1279
    @olexiyusov1279 3 ปีที่แล้ว +1

    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.

  • @sorontar1
    @sorontar1 3 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      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

  • @MiszterTorpedo
    @MiszterTorpedo ปีที่แล้ว

    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.

  • @run-forrest-run
    @run-forrest-run 3 ปีที่แล้ว +1

    @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.

  • @samtsai8369
    @samtsai8369 3 ปีที่แล้ว +1

    super clear!

  • @strategistoptiontrading
    @strategistoptiontrading 2 ปีที่แล้ว

    great work adam, but I am still not clear were was .net code was written? It was written on local system visual studio?

  • @dhanunjayreddyvalluru8161
    @dhanunjayreddyvalluru8161 3 ปีที่แล้ว +1

    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

  • @sonofspm
    @sonofspm 4 ปีที่แล้ว

    Your efforts in preparing the content are commendable (y). Which Softwares do you use or recommend recording and editing the videos? I also wish to prepare some videos.

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว +2

      I use Camtasia to record screen and Davinci resolve to combine recording from camera with screen and do extra effects. But in most cases camtasia is good enough.

    • @sonofspm
      @sonofspm 4 ปีที่แล้ว

      @@AdamMarczakYT Thanks for letting me know. I'm inspired by the way you present and thought of creating the tutorial videos. Though I'm new in creating videos and I would need expert to advise me to make the perfect videos. I got Filmora and created a small video on Git Introduction.
      th-cam.com/video/5Z9iD3jXa_Y/w-d-xo.html

    • @sonofspm
      @sonofspm 4 ปีที่แล้ว +1

      I have subscribed to your channel because you have good content and nice presentation skills.

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว +2

      Thanks. Some day in near future I plan to release small tips and tricks video of what I learned over the last year doing my videos. This could be helpful to you. Thanks for stopping by.

  • @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.

  • @kumoart7767
    @kumoart7767 3 ปีที่แล้ว +1

    Great tutorial Adam!
    Do you have any tutorial for send recv in Python also?

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว

      Not yet! Thanks for watching! :)

  • @nayeemuddinmoinuddin2186
    @nayeemuddinmoinuddin2186 3 ปีที่แล้ว

    Thanks Adam for wonderful video on Event Hub. Just a request can you also make a video on Azure IoT Hub.

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว

      Great suggestion! It's on the list :) thanks!

  • @Umerkhange
    @Umerkhange 11 หลายเดือนก่อน

    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

  • @manisharajan3773
    @manisharajan3773 2 ปีที่แล้ว

    Hey Adam !
    I was really expecting that u will create multiple event hubs under single namespace.
    Could you please explain that?

  • @govthamreddy
    @govthamreddy 3 ปีที่แล้ว +1

    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

  • @alwaseem5309
    @alwaseem5309 3 ปีที่แล้ว +1

    Way too Good. Keep it up.

  • @anassaifi3319
    @anassaifi3319 3 ปีที่แล้ว +1

    Hi Adam, Great work, I just wanted to know that is it possible to send real time frames of a video to event hub? or does event hub deal with image data?

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว +1

      it's possible but not recommended, maximum event message size only only 256 KB, better upload this to a blob storage.

    • @anassaifi3319
      @anassaifi3319 3 ปีที่แล้ว

      @@AdamMarczakYT Okay, Thanks Adam

    • @anassaifi3319
      @anassaifi3319 3 ปีที่แล้ว

      So for this will iot edge work fine?

    • @anassaifi3319
      @anassaifi3319 3 ปีที่แล้ว

      And also don't we need some sort of intermediate between device and blob storage for capturing real time frames. Will iot edge work there?

  • @BijouBakson
    @BijouBakson ปีที่แล้ว

    Thank you

  • @deepanshuaggarwal7042
    @deepanshuaggarwal7042 2 ปีที่แล้ว

    Hi Adam, are you creating any other azure exam playlist just like AZ900 ?

  • @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 ปีที่แล้ว +1

      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 ?

  • @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 ปีที่แล้ว +1

      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 :)

  • @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 ปีที่แล้ว +1

      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

  • @satish1012
    @satish1012 4 หลายเดือนก่อน

    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

  • @prateekkemkar8192
    @prateekkemkar8192 4 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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 !

  • @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

  • @Gq_Guy7846
    @Gq_Guy7846 ปีที่แล้ว

    Good Job

  • @fenjin3929
    @fenjin3929 3 ปีที่แล้ว +1

    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 ;)

  • @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.

  • @randommoments1263
    @randommoments1263 3 ปีที่แล้ว +1

    Azure saviour thanks

  • @joseandreslopezmunoz9972
    @joseandreslopezmunoz9972 2 ปีที่แล้ว +1

    Thanks! And the next pass to read the avro?

    • @AdamMarczakYT
      @AdamMarczakYT  2 ปีที่แล้ว

      Use Azure Data Factory to read Avro files.

  • @ry-financials
    @ry-financials 3 ปีที่แล้ว

    Thanks Adam for very good demo. Would you mind sharing the dotnet code that you showed ?

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว

      All my videos include link to the source code in the video description :)

  • @Zeestack
    @Zeestack ปีที่แล้ว

    Is there a way that the frontend React application can subscribe to Event Hub?

  • @xavierjohn9
    @xavierjohn9 3 ปีที่แล้ว +2

    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 :)