-
-
Notifications
You must be signed in to change notification settings - Fork 7
Description
First of all I want to thank @leodido for continuing to work on the go-syslog package. 🙏 This package is currently used by the OpenTelemetry Collector Contrib for parsing of syslog messages, used for example in the Syslog receiver of the collector. Btw. perhaps it's worth adding an adopters file in this repo?
Triggered by the archiving of the https://github.com/influxdata/go-syslog repository, we are planning to replace the influxdata/go-syslog/v3 package with leodido/go-syslog/v4 (open-telemetry/opentelemetry-collector-contrib#33205). This brings the question: are there any breaking changes that users looking to do similar switch should look out for?
Looking at the release notes for v4.0.0, seems to me that the only change that might be worth describing as potentially breaking is Allow non UTF8 characters in message #35, as it changes the default behavior of the parser to be more permissive. This means that if someone was relying on the package to reject non-compliant messages, they might need to use the WithCompliantMsg option. Does this make sense?