Skip to content

Migrate engine started and stopped to telemetry events#1555

Merged
jfallows merged 11 commits intoaklivity:developfrom
bmaidics:engine_events
Sep 30, 2025
Merged

Migrate engine started and stopped to telemetry events#1555
jfallows merged 11 commits intoaklivity:developfrom
bmaidics:engine_events

Conversation

@bmaidics
Copy link
Contributor

Fixes #1491

@bmaidics bmaidics marked this pull request as ready for review September 19, 2025 15:19
public void shouldLogEvents() throws Exception
{
k3po.start();
Thread.sleep(1000);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove the sleep now that we drain on close for exporter events?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not needed for that. If we don't have the sleep, we immediately close the engine, not letting the handshake complete.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private final SortedSet<StdoutExporterHandler> handlers;

@jfallows jfallows merged commit 6936e6b into aklivity:develop Sep 30, 2025
38 of 39 checks passed
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.

Migrate engine started and stopped to telemetry events

2 participants