-
Notifications
You must be signed in to change notification settings - Fork 93
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
unable to configure topic in consumer #427
Comments
…fra#427 for example setup topic based on config, etc: fedora-infra#427
The call to
Try replacing |
yeah, i invoked parent constructor wrong way, but nevertheless, i think the separate |
i created myself a consumer using @ralphbean gist: https://gist.github.com/ralphbean/3766683
it has
topic
hardcoded:but i wanted it to be configurable.
they only way i'm sure method is called is by defining
__init__
and assign value there:however, this emits error, like half of the
__init__
is not called:so like
fedmsg/consumers/__init__.py:L114
never called.and if i look
fedmsg/consumers/__init__.py:97-98
seems that__init__
is invoking itself? i'm no Python guru, what's the trick there.anywho, perhaps add support for calling consumer init, so could do extra initiaization required by consumer?
The text was updated successfully, but these errors were encountered: