Skip to content

Conversation

kdrakon
Copy link

@kdrakon kdrakon commented Apr 25, 2024

This refactors the existing capture methods to allow the caller to specify the timestamp on the JSON payload. This allows the SDK to perform similar to the Python SDK, in that the events being posted can be set with a contextual timestamp.

At my company, we currently use the Python SDK, but are building another application in Java. We require the ability to specify the event timestamp because we read some of our events of a queue, which can add a degree of latency before being sent to Posthog.

This likely addresses some of the changes requested in #41.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant