mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 05:09:54 +05:00
- added extra error return parameter to constructor - failing to parse PEM certificates returns an error (previously nil return) - moved Connect logic inside the constructor* - removed unnecessary fields from poster structure. Use the configuration fields directly instead. - removed mutex from poster structure (kafka writer is thread-safe) - removed nil writer check. Message is exported directly. - shortened receiver name (https://google.github.io/styleguide/go/decisions#receiver-names) *The Kafka Transport is not a connection but a configuration for the connection created during the first export. The connection and its related goroutines stay running until manually closed.