confluent-kafka-go icon indicating copy to clipboard operation
confluent-kafka-go copied to clipboard

Add Stats.Bytes()

Open jdemeyer opened this issue 1 year ago • 1 comments

Given that Go uses []byte mostly to represent JSON data, it makes a lot of sense to add a Stats.Bytes() call returning a []byte instead of a string.

Perhaps it might even make sense to store the data as []byte internally in the Stats struct, but that's then an implementation detail which can be changed later.

jdemeyer avatar May 19 '23 21:05 jdemeyer

CLA assistant check
All committers have signed the CLA.

cla-assistant[bot] avatar Aug 04 '23 11:08 cla-assistant[bot]