Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config SSL and SASL #1208

Open
hoang1998lqd opened this issue Nov 6, 2023 · 0 comments
Open

Config SSL and SASL #1208

hoang1998lqd opened this issue Nov 6, 2023 · 0 comments

Comments

@hoang1998lqd
Copy link

hoang1998lqd commented Nov 6, 2023

Hello!
How to config SSL and SASL Jaas with information ssl and sasl:

  • kafka:
    bootstrap-servers:
    - kafka-prod-0-econtract.apps.dc-prod.fis.xplat.fptcloud.com:443
    - kafka-prod-1-econtract.apps.dc-prod.fis.xplat.fptcloud.com:443
    - kafka-prod-2-econtract.apps.dc-prod.fis.xplat.fptcloud.com:443
    producer:
    properties:
    security:
    protocol: SASL_SSL
    sasl:
    mechanism: SCRAM-SHA-512 //316
    jaas:
    config: org.apache.kafka.common.security.plain.ScramLoginModule required username="econtractExternalKafkaService" password="econtractExternalKafkaService";
    ssl:
    truststore:
    location: H:\D Disk\JHipter Demo\api-service\src\main\resources\config\tls\truststore_prod.jks //293
    password: password //295
    type: JKS => Default
    key-serializer: org.apache.kafka.common.serialization.StringSerializer
    value-serializer: org.apache.kafka.common.serialization.StringSerializer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant