Skip to content

Add support for batching configuration #903

@losalex

Description

@losalex

Expose an ability to customize batching settings introduced in 1164.
Also batching settings should be available through standard logging adapters like slf4j/logback, for example:

<appender name="CLOUD" class="com.google.cloud.logging.logback.LoggingAppender"> <writeSynchronicity>ASYNC</writeSynchronicity> <autoPopulateMetadata>true</autoPopulateMetadata> <batchingSettings> <flowControlSettings> <maxOutstandingElementCount>100000</maxOutstandingElementCount> <limitExceededBehavior>Ignore</limitExceededBehavior> </flowControlSettings> </batchingSettings> </appender> 

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/java-logging-logback API.logging-resiliencepriority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions