O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

How to cloud #1: Create Kafka cluster with Confluent Cloud

44 visualizações

Publicada em

How to cloud #1: Create Kafka cluster with Confluent Cloud

Publicada em: Tecnologia
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

How to cloud #1: Create Kafka cluster with Confluent Cloud

  1. 1. How To Cloud #1 Create Kafka cluster with Confluent Cloud
  2. 2. Apache Kafka
  3. 3. Apache Kafka ● Data streaming platform ● Publish/subscribe model ● Something between message broker and database
  4. 4. New Confluent Cloud cluster
  5. 5. Hello world with ccloud # Run new Fedora container $ docker run -it fedora # Install Confluent Cloud $ curl -L https://cnfl.io/ccloud-cli | sh -s -- -b /usr/bin # Login $ ccloud login # Find your cluster $ ccloud kafka cluster list | grep henry # Select your cluster as default $ ccloud kafka cluster use mycluster # Create new Kafka topic $ ccloud kafka topic create mytopic
  6. 6. Hello world with ccloud # Create new API key for CLI client $ ccloud api-key create # Use created key $ ccloud api-key use keyid # Run Kafka consumer in the background $ ccloud kafka topic consume mytopic # Install top $ dnf install procps # Confirm that ccloud consumer is running $ top # Send messages to Kafka $ ccloud kafka topic produce mytopic

×