153154155156157158159160161
// manage the consumer environment.manage(consumer); // add health checks environment.addHealthCheck(new KafkaConsumerHealthCheck(consumer, name)); return consumer; }
122123124125126127128129130
168169170171172173174175176
575576577578579580581582583
// manage the consumer environment.lifecycle().manage(consumer); // add health checks environment.healthChecks().register(name, new KafkaConsumerHealthCheck(consumer)); return consumer; }
585586587588589590591592593
169170171172173174175176177
159160161162163164165166167