package
0.0.0-20230424045628-a36dcc1d90e4
Repository: https://github.com/weedge/lib.git
Documentation: pkg.go.dev

# Functions

new sync/async producer to topic with option(requiredAcks,retryMaxCn,partitioning,compressions,TLS...etc).
kafka brokers ip:port,ip:port.
No description provided by the author
The client ID sent with every request to the brokers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
key partition: partition(manual),hash,random - manual partitioning if a partition number is provided - hash partitioning by msg key - random partitioning otherwise.
RequiredAcks is used in Produce Requests to tell the broker how many replica acknowledgements it must see before responding.
No description provided by the author
The duration the producer will wait to receive -required-acks.
kafka version support kafka min version 0.8.2.0.

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author