8000 [Java] Fix IndexedReplicatedRecording LIVE_CHANNEL config by zct · Pull Request #1815 · aeron-io/aeron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Java] Fix IndexedReplicatedRecording LIVE_CHANNEL config #1815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

zct
Copy link
Contributor
@zct zct commented Jun 10, 2025

When running this IndexedReplicatedRecording example, the following error will be reported.
It seems to be an issue with the LIVE_CHANNEL configuration, I've submitted this MR to fix it. Please review it.

Exception in thread "main" io.aeron.exceptions.RegistrationException: ERROR - java.lang.IllegalArgumentException : 'control' parameter requires that either 'endpoint' or 'control-mode' is specified, channel=aeron:udp?control=localhost:8100|term-length=65536, errorCodeValue=11
	at io.aeron.ClientConductor.onError(ClientConductor.java:224)
	at io.aeron.DriverEventsAdapter.onMessage(DriverEventsAdapter.java:116)
	at org.agrona.concurrent.broadcast.CopyBroadcastReceiver.receive(CopyBroadcastReceiver.java:116)
	at io.aeron.DriverEventsAdapter.receive(DriverEventsAdapter.java:69)
	at io.aeron.ClientConductor.service(ClientConductor.java:1471)
	at io.aeron.ClientConductor.awaitResponse(ClientConductor.java:1529)
	at io.aeron.ClientConductor.addExclusivePublication(ClientConductor.java:473)
	at io.aeron.Aeron.addExclusivePublication(Aeron.java:294)
	at io.aeron.samples.archive.IndexedReplicatedRecording.main(IndexedReplicatedRecording.java:195)

@vyazelenko
Copy link
Contributor

Thanks for the fix.

@vyazelenko vyazelenko merged commit c0d39ab into aeron-io:master Jun 10, 2025
45 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.

2 participants
0