()
| 121 | } |
| 122 | |
| 123 | func NewDecoder() *Decoder { |
| 124 | return &Decoder{ |
| 125 | req: &tempopb.PushBytesRequest{}, // TODO - Pool? |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | // Decode converts a Kafka record's byte data back into a tempopb.Trace. |
| 130 | func (d *Decoder) Decode(data []byte) (*tempopb.PushBytesRequest, error) { |
no outgoing calls