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

replicationFactor error while adding a new topic #71

Open
wilk opened this issue May 25, 2021 · 1 comment
Open

replicationFactor error while adding a new topic #71

wilk opened this issue May 25, 2021 · 1 comment

Comments

@wilk
Copy link

wilk commented May 25, 2021

Description
I downloaded and launched the cp-all-in-one docker-compose file and followed the guide to start using Confluent locally by creating a new topic
However, I got the following error on the web page:

Screenshot 2021-05-25 at 16 19 58

And this is the log coming from docker-compose:

broker | [2021-05-25 14:19:45,748] INFO [Admin Manager on Broker 1]: Error processing create topic request CreatableTopic(name='pageviews', numPartitions=1, replicationFactor=3, assignments=[], configs=[CreateableTopicConfig(name='compression.type', value='producer'), CreateableTopicConfig(name='confluent.value.schema.validation', value='false'), CreateableTopicConfig(name='leader.replication.throttled.replicas', value=''), CreateableTopicConfig(name='confluent.key.subject.name.strategy', value='io.confluent.kafka.serializers.subject.TopicNameStrategy'), CreateableTopicConfig(name='message.downconversion.enable', value='true'), CreateableTopicConfig(name='min.insync.replicas', value='2'), CreateableTopicConfig(name='segment.jitter.ms', value='0'), CreateableTopicConfig(name='cleanup.policy', value='delete'), CreateableTopicConfig(name='flush.ms', value='9223372036854775807'), CreateableTopicConfig(name='confluent.tier.local.hotset.ms', value='86400000'), CreateableTopicConfig(name='follower.replication.throttled.replicas', value=''), CreateableTopicConfig(name='confluent.tier.local.hotset.bytes', value='-1'), CreateableTopicConfig(name='confluent.value.subject.name.strategy', value='io.confluent.kafka.serializers.subject.TopicNameStrategy'), CreateableTopicConfig(name='segment.bytes', value='1073741824'), CreateableTopicConfig(name='retention.ms', value='604800000'), CreateableTopicConfig(name='flush.messages', value='9223372036854775807'), CreateableTopicConfig(name='confluent.tier.enable', value='false'), CreateableTopicConfig(name='confluent.tier.segment.hotset.roll.min.bytes', value='104857600'), CreateableTopicConfig(name='message.format.version', value='2.7-IV2'), CreateableTopicConfig(name='confluent.segment.speculative.prefetch.enable', value='false'), CreateableTopicConfig(name='file.delete.delay.ms', value='60000'), CreateableTopicConfig(name='max.compaction.lag.ms', value='9223372036854775807'), CreateableTopicConfig(name='max.message.bytes', value='1048588'), CreateableTopicConfig(name='min.compaction.lag.ms', value='0'), CreateableTopicConfig(name='message.timestamp.type', value='CreateTime'), CreateableTopicConfig(name='preallocate', value='false'), CreateableTopicConfig(name='min.cleanable.dirty.ratio', value='0.5'), CreateableTopicConfig(name='index.interval.bytes', value='4096'), CreateableTopicConfig(name='unclean.leader.election.enable', value='false'), CreateableTopicConfig(name='retention.bytes', value='-1'), CreateableTopicConfig(name='delete.retention.ms', value='86400000'), CreateableTopicConfig(name='confluent.prefer.tier.fetch.ms', value='-1'), CreateableTopicConfig(name='segment.ms', value='604800000'), CreateableTopicConfig(name='confluent.key.schema.validation', value='false'), CreateableTopicConfig(name='message.timestamp.difference.max.ms', value='9223372036854775807'), CreateableTopicConfig(name='segment.index.bytes', value='10485760')], linkName=null, mirrorTopic=null) (kafka.server.AdminManager)

What can I do?

Troubleshooting
N/A

Environment

  • GitHub branch: 6.1.1-post
  • Operating System: Mac OS X Big Sur (11.3.1 (20E241))
  • Version of Docker: 3.3.3 (64133)
  • Version of Docker Compose: 1.29.1
@OneCricketeer
Copy link

OneCricketeer commented Sep 7, 2021

As your image shows, on the right-side you have replication factor = 3.

You need to customize more settings than only the partition count and topic name (click the button)

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

No branches or pull requests

2 participants