Fix missing hostname in produced messages

With Benthos we used the Hostname field from syslog message but resorted to host hostname for fallback. This in the past lead to some issues (involving FQDN mainly).

With haproxykafka the hostname is configurable and we fallback on the os.Hostname() function if empty.

Merge request reports

Loading