Skip to content

feat: Modify batching implementation in java-logging #705

@minherz

Description

@minherz

The Logging.write() interface aggregates multiple calls in batches in order to optimize a number of calls to entries.write Logging API. It happens only when Logging.getWriteSynchronicity() returns Synchronicity.ASYNC.
The current implementation of the batching logic is located in the gax repo and has few drawbacks that should be fixed.

This is an umbrella issue for all relevant FRs that modify the current batching implementation to provide the following features:

  • expose batch configuration at logging client level
  • review existing error handling strategies and extend them if needed
  • modify current error reporting implementation

More technical details can be found in internal document.

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/java-logging API.lang: javaIssues specific to Java.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