Bruno Sakoto | c9b9934 | 2021-06-04 07:49:14 -0400 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (c) 2021 Bell Canada. |
| 3 | # ================================================================================ |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # ============LICENSE_END========================================================= |
| 16 | |
| 17 | # Spring profile configuration for sasl ssl Kafka |
| 18 | |
| 19 | spring: |
| 20 | kafka: |
| 21 | bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER} |
| 22 | security: |
| 23 | protocol: SASL_SSL |
| 24 | ssl: |
| 25 | trust-store-type: JKS |
| 26 | trust-store-location: ${KAFKA_SSL_TRUST_STORE_LOCATION} |
| 27 | trust-store-password: ${KAFKA_SSL_TRUST_STORE_PASSWORD} |
| 28 | properties: |
| 29 | sasl.mechanism: SCRAM-SHA-512 |
| 30 | sasl.jaas.config: ${KAFKA_SASL_JAAS_CONFIG} |
| 31 | ssl.endpoint.identification.algorithm: |