Streams

Import and export data into/from event streams and message brokers.

Streaming data today is emitted at high volume in a continuous, incremental manner with the goal of low-latency processing.

Organizations have thousands of data sources that typically simultaneously emit messages, records, or data ranging in size from a few bytes to several megabytes (MB). Streaming data includes location, event, and sensor data that companies use for real-time analytics and visibility into many aspects of their business.

Integrations

CrateDB provides data pipeline integration adapters for popular streaming services and brokers.

Amazon Kinesis
Apache Kafka

Synopsis

Load data from Amazon Kinesis stream testdrive into CrateDB table testdrive.kinesis.

uvx 'cratedb-toolkit[io-ingest]' load \
    "kinesis:?aws_access_key_id=${AWS_ACCESS_KEY_ID}&aws_secret_access_key=${AWS_SECRET_ACCESS_KEY}&region_name=eu-central-1&table=arn:aws:kinesis:eu-central-1:831394476016:stream/testdrive" \
    "crate://crate:crate@localhost:4200/testdrive/kinesis"

Load data from Apache Kafka topic testdrive into CrateDB table testdrive.kafka.

uvx 'cratedb-toolkit[io-ingest]' load \
    "kafka:?bootstrap_servers=localhost:9092&group_id=test&table=testdrive" \
    "crate://crate:na@localhost:4200/testdrive/kafka"