Skip to content

Billing→S3: BillingS3LogHandler (buffer, flusher, metrics) #2518

Description

@Hazel-Datastax

The custom log handler — receives billing.events records, batches them off the request path, and flushes .jsonl files to S3 using its own overflow policy.

What to do

Add BillingS3LogHandler extends java.util.logging.Handler:

Acceptance

  • Unit tests: thresholds seal a batch; full buffer drops + increments the counter; close() drains the remainder; uploader invoked with the expected key + content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions