Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cdesch opened this issue Jun 10, 2021 · 1 comment

Comments

@cdesch
Copy link

cdesch commented Jun 10, 2021

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?

@Lechindianer
Copy link

@cdesch I guess you figured it out in the meantine yourself - in case anyone else stumbles upon this issue, see this MR: #443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants