Skip to content

Instantly share code, notes, and snippets.

View vikaspatil0021's full-sized avatar

Vikas Patil vikaspatil0021

View GitHub Profile
@vikaspatil0021
vikaspatil0021 / gist:6fbd1b3dba425d780b51c60817fae898
Last active September 30, 2024 13:20
ssl (secure socket layer) authentication and encyption

Screenshot from 2024-09-29 19-48-48

SSL Handshake Process Between Zookeeper and Kafka Broker

  1. Zookeeper and the Kafka broker are running and want to connect via SSL handshake.
  2. Both services have:
    • Their own CA-signed certificate in the keystore.
    • The same CA certificate (ca-cert) from the CA in the truststore.
  3. The broker sends its CA-signed certificate to Zookeeper.
  4. Zookeeper verifies the broker's certificate using the CA certificate (ca-cert) in its truststore.
CREATE TABLE build_logs (
id UUID,
deployment_id String,
log String,
created_at DateTime
)
ENGINE = MergeTree
ORDER BY (created_at);
@vikaspatil0021
vikaspatil0021 / README.md
Created August 17, 2024 11:53 — forked from piyushgarg-dev/README.md
Kafka Crash Course