Hi, I think there is no specific reason. we can pass the clientId to MetricsReporter class's configure() method. Can you pls raise the JIRA?
On Fri, Sep 15, 2017 at 7:44 AM, Kevin Lu <lu.ke...@eecs.berkeley.edu> wrote: > Hi, > > Is there a particular reason why the MetricsReporter class's configure() > call is not guaranteed to receive the client id? > > The interceptors' configure() methods are guaranteed to have client id > field (either user specified or the kafka auto generated client id such as > producer-1). > > We are implementing something similar to Confluent's monitoring > interceptors, except we want the MetricsReporter to be the class to > initiate our monitoring components. Since the MetricsReporter is not > guaranteed a client id, we cannot 100% create a direct mapping between > MetricsReporter and the interceptors of a client if the user does not > specify the client id field. > > Regards, > Kevin > > -- > Kevin Li Lu > University of California, Berkeley | Class of 2017 > College of Letters & Sciences | B.A. Computer Science > Cell: (408) 609-6238 >