Skip to content

Support snappy compressor in CompressorUtil #1222

@qixiaogang

Description

@qixiaogang

Is your feature request related to a problem? Please describe.

gzip is the only supported default compression for exporter, however gzip consumes much more CPU than snappy, so it will be great to also provide snappy as supported compression.

Describe the solution you'd like

calling setCompression("snappy") for exporter will use snappy compressor.
TelemetryExporter<T> exporter = exporterBuilder().setEndpoint(endpoint).setCompression("snappy").build();

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions