Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schm1tz1/singlestore-consumer-kafka
Example of a Singlestore Consumer (Singlestore DB) hosted in Docker connecting to Kafka Cluster in Confluent Cloud
https://github.com/schm1tz1/singlestore-consumer-kafka
Last synced: 1 day ago
JSON representation
Example of a Singlestore Consumer (Singlestore DB) hosted in Docker connecting to Kafka Cluster in Confluent Cloud
- Host: GitHub
- URL: https://github.com/schm1tz1/singlestore-consumer-kafka
- Owner: Schm1tz1
- Created: 2023-03-30T15:33:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-30T15:33:44.000Z (almost 2 years ago)
- Last Synced: 2024-10-31T09:52:33.158Z (3 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Singlestore Consumer Kafka
This repo is based on the initial work from Vincent de Saboulin (vdesabou) in https://github.com/vdesabou/kafka-docker-playground/tree/master/connect/connect-singlestore-sink
It is intended to be used with Confluent Cloud (SASL_SSL) but you can connect to any Kafka cluster with a few modifications and assumes you are having data in a topic **test** in AVRO format that has the schema matching testdata produced by the users module of the Datagen connector.## How to use
- Create a file `.env` with the following variables:
- CC_BOOTSTRAP: Confluent Cloud / Kafka Bootstrap Servers
- CC_API_KEY: Confluent Cloud API Key / SASL_SSL Username
- CC_API_SECRET: Confluent Cloud API Secret / SASL_SSL Password
- SR_BOOTSTRAP: Schema Registry URL (including protocol, e.g. https://schemaregistry:8081)
- SR_API_KEY: Schema Registry API Key / SR BASIC Username
- SR_API_SECRET: Schema Registry API Secret / SR BASIC Password
- Start a datagen connector in your cluster, target topic **test**, AVRO format, **users** testdata !
- Wait for the connector to be up and running
- Start and run the automated test!