I am new to implementation and understanding of Event hub. I followed the instructions from microsoft document enter link description here
However when I run my receiver code , I am facing the following error.
Caused by: com.azure.core.amqp.exception.AmqpException: Receiver 'nil' with a higher epoch '4' already exists. Receiver 'nil' with epoch 0 cannot be created. Make sure you are creating receiver with increasing epoch value to ensure connectivity, or ensure all old epoch receivers are closed or disconnected.
Could anyone suggest the cause and how I could resolve this error?
Thank you