'Read data from a particular partition in Azure Eventhub using Azure Databricks

I am trying to read data from azure eventhub using sparkstreaming in Azure Databricks. However I need to write my consumer client in such a way that it reads from a particular partition ID of an eventhub.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source