Azure Java EventHubTrigger using r2dbc-mssql gives netty errors

Nalla 1 Reputation point

I am trying to persist the messages received b y a Java EventHubTrigger to Azure SQL Database using r2dbc-mssql driver.

When the function gets triggered I get the following error:

Caused by: java.lang.NoSuchMethodError: io.netty.handler.ssl.SslContextBuilder.trustManager(Ljavax/net/ssl/TrustManager;)Lio/netty/handler/ssl/SslContextBuilder; 

My dependencies are:


I also tried manually including the r2dbc-mssql-1.0.0.M7.jar in my function project but I still get the netty error. I tried both java.version=1.8 and 11 in the pom.xml. Both give the same netty error.

Please suggest a fix. Thanks.

Azure SQL Database
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
2,581 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
357 questions
{count} votes