No JavaDoc is released for artifact com.microsoft.azure:azure-eventhubs-spark_2.12:2.3.18. Please try other versions.

Owner of the project? Troubleshoot following things: report to us if you tried everything but still doesn't work.