ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying kafkajs Kafka client for anything not wrapped here.
Produce one or more messages to topic. Returns kafkajs's record
metadata (per-partition base offsets).
Create topic via a short-lived admin connection. Returns kafkajs's
boolean indicating whether the topic was newly created (false if it
already existed).
List all topic names known to the cluster via a short-lived admin connection.
Subscribe a new consumer to topics and invoke handler for each
message (kafkajs's eachMessage payload: { topic, partition, message }).
The consumer joins the group options.groupId (a generated id is used if
omitted) and is tracked so disconnect() stops it. Returns the created
kafkajs consumer.
KafkaStorewraps akafkajsclient and exposes Kafka's core operations: producing messages, topic administration, and consumer subscriptions.