kafka_ex icon indicating copy to clipboard operation
kafka_ex copied to clipboard

KafkaEx.ConsumerGroup starting suerpvisor tree - Supervisor.Spec.supervisor/2 is deprecated.

Open cdesch opened this issue 3 years ago • 1 comments

When starting a supervisor tree from this example KafkaEx.ConsumerGroup, I get the deprecation warning:

warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/cx/application.ex:31: Cx.Application.start/2

What should be used in place?

cdesch avatar Jun 10 '21 16:06 cdesch

@cdesch I guess you figured it out in the meantine yourself - in case anyone else stumbles upon this issue, see this MR: https://github.com/kafkaex/kafka_ex/pull/443

Lechindianer avatar Feb 20 '22 21:02 Lechindianer