Hi - I’m implementing a logs receiver, and wish to call
consumer.ConsumeLogs(ctx context.Context, ld pdata.Logs) error.
I have a struct representing log records, and wish to convert this to
pdata.Logs. However, I’m not finding a way to do this that doesn’t require direct interaction with internal packages.
Am I right to think this should be possible? Is there an expected approach to this that someone could point me to?
kafkaexporterto output logs. Should not be very difficult. The primary question will be in what format you write to kafka.
kafkaexportercurrently supports a couple serialization formats for traces (otlp, jaeger). We will need to decide what to support for logs.