Felice is a nascent, opinionated Kafka library for Go, in Go.
Currently, you can use Felice to send and consume messages via Kafka topics.
Felice Bauer was, at one time, Franz Kafka's fiance. He wrote her many messages, which she faithfuly kept, and later published.
If you wish to send messages via Kafka, you should start by reading
the documentation for the producer
package. If you wish to consume
messages from Kafka, you should start by reading the documentation for
the consumer
package. The message
package contains the Message
type that is
shared by both consumer
and producer
code.
Felice uses the following default configuration:
- It uses
murmur2
partitioner to be compatible with JVM ecosystem, specially KStreams - A maximum of 3 attempts are made to produce a message before an error is returned
- It waits for all in-sync replicas to ack the message
- It distributes load across partitions using round robin strategy