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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions