mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
Each worker gets one and work on only one object. Something similar could be done in inlet/flows. We could use a sync.Pool, as described in https://github.com/IBM/sarama/issues/1302. However, it is not 100% confirmed this is safe.
14 lines
308 B
YAML
14 lines
308 B
YAML
---
|
|
version: v2
|
|
plugins:
|
|
- local: [ "go", "tool", "protoc-gen-go" ]
|
|
out: .
|
|
opt:
|
|
- paths=source_relative
|
|
- local: [ "go", "tool", "protoc-gen-go-vtproto" ]
|
|
out: .
|
|
opt:
|
|
- paths=source_relative
|
|
- features=size+marshal+unmarshal+pool
|
|
- pool=akvorado/common/pb.RawFlow
|