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

fix: update error msg #8221

Merged
merged 3 commits into from
Oct 6, 2021
Merged

fix: update error msg #8221

merged 3 commits into from
Oct 6, 2021

Conversation

wcarlson5
Copy link
Contributor

update error msg to remove replicas

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@wcarlson5 wcarlson5 requested a review from a team as a code owner October 4, 2021 19:27
@@ -110,7 +110,7 @@ public TopicCreateInjector(
} else if (!properties.getPartitions().isPresent()) {
final CreateSource example = createSource.copyWith(
createSource.getElements(),
properties.withPartitionsAndReplicas(2, (short) 1));
properties.withPartitionsAndReplicas(2));
Copy link
Member

Choose a reason for hiding this comment

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

It seems we use this method only at this place. Should we rename it to properties.withPartitions(...) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@wcarlson5 wcarlson5 requested review from mjsax and a team October 5, 2021 14:06
@wcarlson5 wcarlson5 merged commit 8c30780 into confluentinc:master Oct 6, 2021
@wcarlson5 wcarlson5 deleted the have_example_not_be_1 branch October 6, 2021 15:33
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