Hello and welcome to Microsoft Q&A @Triumphant Adiga .
I understand you need help with integrating event hub and data bricks in your notebook.
Taking a closer look at your screenshot, I see that your notebook is set to the Python language. However the code your pasted in is not Python. The code looks like Scala to me. Try either using a Scala notebook or using the magic command %scala
.