apiVersion: v1
kind: Secret
metadata:
  name: spring-boot-application-properties
type: Opaque
stringData:
  application.properties: |
    spring.kafka.properties.sasl.mechanism=PLAIN
    spring.kafka.properties.bootstrap.servers=bootstrap:9092
    spring.kafka.properties.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule   required username='user'   password='password';
    spring.kafka.properties.security.protocol=SASL_SSL
    # Kafka Producer | KafkaTemplate
    spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.IntegerSerializer
    spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer
    spring.kafka.streams.replication-factor=3
    spring.application.name=orders-matview
    spring.kafka.streams.properties.state.dir=/mnt/kafka-streams-store
    spring.main.allow-bean-definition-overriding=true
