Kafka
  1. Kafka
  2. KAFKA-207

AsyncProducerStats is not a singleton

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.7
    • Component/s: core
    • Labels:
      None

      Description

      AsyncProducerStats is not a singleton. This means that if a client instantiates multiple producers, the stat is collected for only 1 instance, instead of all instances.

        Activity

        Jun Rao created issue -
        Hide
        Jun Rao added a comment -

        Make AsyncProducerStats a singleton that tracks dropped events from all AsyncProducer instances. Add a separate jmx bean that reports the queue size for each AsyncProducer instance.

        Show
        Jun Rao added a comment - Make AsyncProducerStats a singleton that tracks dropped events from all AsyncProducer instances. Add a separate jmx bean that reports the queue size for each AsyncProducer instance.
        Jun Rao made changes -
        Field Original Value New Value
        Attachment KAFKA-207.patch [ 12504451 ]
        Jun Rao made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Jun Rao [ junrao ]
        Hide
        Neha Narkhede added a comment -

        +1

        Show
        Neha Narkhede added a comment - +1
        Jun Rao made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.7 [ 12317243 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        4d 2h 28m 1 Jun Rao 20/Nov/11 23:20
        Patch Available Patch Available Resolved Resolved
        1d 1h 38m 1 Jun Rao 22/Nov/11 00:58

          People

          • Assignee:
            Jun Rao
            Reporter:
            Jun Rao
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development