(self)
return config
Returns the default collector settings
Returns the default collector settings
Returns the default collector settings
def get_default_config(self):
        """
        Returns the default collector settings
        """
        config = super(KafkaConsumerLagCollector, self).get_default_config()
        config.update({
            'path': 'kafka.ConsumerLag',
            'bin': '/opt/kafka/bin/kafka-run-class.sh',
            'zookeeper': 'localhost:2181'
        })
        return config
def get_default_config ( self ) : config = super ( KafkaConsumerLagCollector , self ) . get_default_config ( ) config . update ( { 'path' : 'kafka.ConsumerLag' , 'bin' : '/opt/kafka/bin/kafka-run-class.sh' , 'zookeeper' : 'localhost:2181' } ) return config