I want to connect Kafka from SpringBoot. I have this code in my application.yml:
kafka:
bootstrap-servers: ${ACQB_REPORTER_KAFKA_BOOTSTRAP_SERVERS}
listener:
ack-mode: manual
type: batch
security:
protocol: SSL
ssl:
trust-store-location: ${ACQB_REPORTER_KAFKA_SSL_TRUSTSTORE_LOCATION_PATH:CUsersMyUserKafkaSertssome.pfx}
trust-store-password: ${ACQB_REPORTER_KAFKA_SSL_KAFKA_PASSWORD:myPassword}
key-store-location: ${ACQB_REPORTER_KAFKA_SSL_KEYSTORE_LOCATION_PATH::CUsersMyUserKafkaSertssome.pfx}
key-store-password: ${ACQB_REPORTER_KAFKA_SSL_KAFKA_PASSWORD:myPassword}
key-password: ${ACQB_REPORTER_KAFKA_SSL_KAFKA_PASSWORD}
But when I start my app, a give this problem:
Caused by: java.nio.file.NoSuchFileException: C:UsersMyUserAppDataLocalTemptomcat-docbase.8080.47618610346747682CUsersMyUserKafkaSertssome.pfx
I haven’t tomcat-docbase.8080.47618610346747682 and why my path duplicated?
New contributor
user23886711 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.