Skip to content

Failed to add producer to topic(C language Client) #8124

Closed

Description

@futeng

Describe the bug
Same issue like #5535, but in C language Client.
Also see the track issue: #5606

broker log

07:25:01.322 [ForkJoinPool.commonPool-worker-60] INFO  org.apache.pulsar.broker.service.ServerCnx - [/IP:51820] persistent://tenantname/ns_name/partition_name-15 configured with schema false
07:25:01.323 [ForkJoinPool.commonPool-worker-60] ERROR org.apache.pulsar.broker.service.ServerCnx - [/IP:51820] Failed to add producer to topic persistent://tenantname/ns_name/partition_name-15: Producer with name 'producer_name-254-20972' is already connected to topic
07:25:01.323 [ForkJoinPool.commonPool-worker-60] INFO  org.apache.pulsar.broker.service.ServerCnx - [/IP:51820] persistent://tenantname/ns_name/partition_name-11 configured with schema false
07:25:01.323 [ForkJoinPool.commonPool-worker-60] ERROR org.apache.pulsar.broker.service.ServerCnx - [/IP:51820] Failed to add producer to topic persistent://tenantname/ns_name/partition_name-11: Producer with name 'producer_name-254-20971' is already connected to topic
07:25:01.323 [ForkJoinPool.commonPool-worker-60] INFO  org.apache.pulsar.broker.service.ServerCnx - [/IP:51820] persistent://tenantname/ns_name/partition_name-25 configured with schema false
07:25:01.323 [ForkJoinPool.commonPool-worker-60] ERROR org.apache.pulsar.broker.service.ServerCnx - [/IP:51820] Failed to add producer to topic persistent://tenantname/ns_name/partition_name-25: Producer with name 'producer_name-254-20974' is already connected to topic
07:25:01.323 [ForkJoinPool.commonPool-worker-60] INFO  org.apache.pulsar.broker.service.ServerCnx - [/IP:51820] persistent://tenantname/ns_name/partition_name-3 configured with schema false

To Reproduce

Server versions:

  • JDK: 1.8.0_192
  • Apache Pulsar: 2.5.0
  • Zookeeper:3.6.1

Client :

$ rpm -qa | grep apache
apache-pulsar-client-debuginfo-2.6.0-1.x86_64
apache-commons-lang-2.6-15.el7.noarch
apache-pulsar-client-2.6.0-1.x86_64
apache-pulsar-client-devel-2.6.0-1.x86_64
apache-commons-io-2.4-12.el7.noarch
apache-commons-logging-1.1.2-7.el7.noarch

Activity

  1. added
    type/bug
    on Sep 24, 2020
  2. jiazhai commented on Sep 28, 2020

    @jiazhai
    Member

    looks like same issue of #5535, we should port the client changes of #5571 from java to cpp client.
    @futeng Would you like to have a for this issue?

  3. hangc0276 commented on Sep 29, 2020

    @hangc0276
    Contributor

    I will try to fix it.

  4. added a commit that references this issue on Oct 5, 2020
    8572ffb
  5. added a commit that references this issue on Oct 30, 2020
    7ccb0e1
  6. added a commit that references this issue on Nov 13, 2020
    c86d8cf
  7. added a commit that references this issue on Dec 19, 2020
    8430423
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedtype/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions