minioevents
MinIO Events to CloudEvents Bridge.
app(bootstrap_servers, security_protocol, tls_cafile, tls_certfile, tls_keyfile, consumer_topic, consumer_group, consumer_auto_offset_reset, producer_topic)
Set up kafka consumer and producer, block until SIGINT while reading messages.
Source code in minioevents.py
from_consumer_record(msg)
Convert msg to an array of CloudEvents using a naive implementation of https://github.com/cloudevents/spec/blob/main/cloudevents/adapters/aws-s3.md.
Source code in minioevents.py
main()
CLI entrypoint parses args, sets up logging, and calls app()
.