oscerd commented on issue #1571: URL: https://github.com/apache/camel-kafka-connector/issues/1571#issuecomment-6632149347
Closing this as a configuration question, with apologies that nobody answered at the time. The root cause at the bottom of error.txt is `NullPointerException: 'fullyQualifiedNamespace' cannot be null` (the `KameletNotFoundException` above it only wraps the route failing to start): the connector builds the connection string as `Endpoint=sb://<namespaceName>.servicebus.windows.net/;SharedAccessKeyName=<sharedAccessName>;SharedAccessKey=<sharedAccessKey>;EntityPath=<eventhubName>`, and with the two names swapped the `es_...` entity name ends up as the host, which Java cannot parse because of the underscore. Taking the values from the Fabric connection string, `namespaceName` is the `XXX` of `XXX.servicebus.windows.net`, `eventhubName` is the `EntityPath` value (`es_...`), and `sharedAccessName`/`sharedAccessKey` are `SharedAccessKeyName`/`SharedAccessKey`; this is the same in `camel-azure-eventhubs-sink-kafka-connector` 4.22.x. If it still fails with those values on 4.22.x, please op en a new issue with the connector version, config (without the key) and stack trace. --- _Claude Code on behalf of Andrea Cosentino_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
