From 40a7415c1717b37e4582bf1907f125ed8c0d0a2d Mon Sep 17 00:00:00 2001 From: Chengjie Yin <89034346+chengjie8@users.noreply.github.com> Date: Tue, 10 Oct 2023 20:17:10 -0400 Subject: [PATCH] added auto create topic for integration test --- .../application-integration-test.yaml | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/svc-bie-kafka/src/main/resources/application-integration-test.yaml b/svc-bie-kafka/src/main/resources/application-integration-test.yaml index 773e16c027..7bafaaaffc 100644 --- a/svc-bie-kafka/src/main/resources/application-integration-test.yaml +++ b/svc-bie-kafka/src/main/resources/application-integration-test.yaml @@ -9,23 +9,24 @@ spring: ssl: # Disable hostname verification to avoid error for 'localhost' by setting to empty string endpoint.identification.algorithm: + auto.create.topics.enable: true producer: key-serializer: "org.apache.kafka.common.serialization.StringSerializer" value-serializer: "org.apache.kafka.common.serialization.StringSerializer" -# security.protocol: SSL -# ssl: -# keystore-location: "file:${KEYSTORE_FILE}" -# keystore-password: "${BIE_KAFKA_KEYSTORE_PASSWORD}" -# key-store-type: "PKCS12" -# truststore-location: "file:${TRUSTSTORE_FILE}" -# truststore-password: "${BIE_KAFKA_TRUSTSTORE_PASSWORD}" -# trust-store-type: "PKCS12" -# admin: -# security.protocol: SSL -# ssl: -# keystore-location: "file:${KEYSTORE_FILE}" -# keystore-password: "${BIE_KAFKA_KEYSTORE_PASSWORD}" -# key-store-type: "PKCS12" -# truststore-location: "file:${TRUSTSTORE_FILE}" -# truststore-password: "${BIE_KAFKA_TRUSTSTORE_PASSWORD}" -# trust-store-type: "PKCS12" + security.protocol: SSL + ssl: + keystore-location: "file:${KEYSTORE_FILE}" + keystore-password: "${BIE_KAFKA_KEYSTORE_PASSWORD}" + key-store-type: "PKCS12" + truststore-location: "file:${TRUSTSTORE_FILE}" + truststore-password: "${BIE_KAFKA_TRUSTSTORE_PASSWORD}" + trust-store-type: "PKCS12" + admin: + security.protocol: SSL + ssl: + keystore-location: "file:${KEYSTORE_FILE}" + keystore-password: "${BIE_KAFKA_KEYSTORE_PASSWORD}" + key-store-type: "PKCS12" + truststore-location: "file:${TRUSTSTORE_FILE}" + truststore-password: "${BIE_KAFKA_TRUSTSTORE_PASSWORD}" + trust-store-type: "PKCS12"