# trino-event-stream **Repository Path**: mirrors_ibm/trino-event-stream ## Basic Information - **Project Name**: trino-event-stream - **Description**: Stream events from trino to a kafka topic - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-25 - **Last Updated**: 2025-12-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Trino event stream [Development guide](DEVELOPMENT.md) A Trino plugin to stream trino events into a Kafka topic. It implements the [`io.trino.spi.eventlistern.EventListener`](https://github.com/trinodb/trino/blob/f6422d04663ab011d3ddb831ed16dec02659c47e/core/trino-spi/src/main/java/io/trino/spi/eventlistener/EventListener.java) interface. ## Install Run `mvn install` to build this plugin, then put the plugin file `trino-event-stream-352.zip` to the plugin folder of trino server. ## Configuration Create new properties file `event-listener.properties` inside the `/etc/trino` directory: ``` event-listener.name=event-stream bootstrap.servers=broker:9092 key.serializer=org.apache.kafka.common.serialization.StringSerializer value.serializer=org.apache.kafka.common.serialization.StringSerializer ``` Avro formatter is added to serialize messages generated from QueryCreatedEvent, QueryCompletedEvent. Avro formatted messages would be read as String using the StringSerializer Then it will emit events to the Kafka topic `trino.event`.