Skip to content
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

Update BookSenderTest.java #432

Merged
merged 1 commit into from
Nov 10, 2021
Merged

Conversation

msillence
Copy link
Contributor

@msillence msillence commented Nov 9, 2021

DEFAULT_BOOTSTRAP_SERVERS is defined as:
public static final String DEFAULT_BOOTSTRAP_SERVERS = "localhost:" + DEFAULT_KAFKA_PORT;

we want to set the kafka.bootstrap.servers or simply bootstrap.servers as seems to be used in KafkaDefaultConfiguration

The code as it stands sets the property localhost:9021 to the value of localhost:<random port> which then fails to connect.

DEFAULT_BOOTSTRAP_SERVERS is defined as:
    public static final String DEFAULT_BOOTSTRAP_SERVERS = "localhost:" + DEFAULT_KAFKA_PORT;

we want to set the kafka.bootstrap.servers or simply bootstrap.servers as seems to be used in KafkaDefaultConfiguration

The code as it stands sets the property "localhost:9021" to the value of "localhost:<random port>" which then fails to connect.
@CLAassistant
Copy link

CLAassistant commented Nov 9, 2021

CLA assistant check
All committers have signed the CLA.

@graemerocher graemerocher merged commit aba820b into micronaut-projects:master Nov 10, 2021
@graemerocher
Copy link
Contributor

Thanks for the contribution!

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.

3 participants