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

Fink client updates #97

Open
JulienPeloton opened this issue Sep 13, 2024 · 0 comments
Open

Fink client updates #97

JulienPeloton opened this issue Sep 13, 2024 · 0 comments

Comments

@JulienPeloton
Copy link
Collaborator

Syntax for the fink-client has changed -- and the code crashes:

Traceback (most recent call last):
  File "/pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/services/fink/fink.py", line 87, in <module>
    skyportal_fink_client()
  File "/pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/services/fink/fink.py", line 83, in skyportal_fink_client
    skyportalfinkclient.poll_alerts(**fink_config, log=log)
  File "/pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/services/fink/skyportal-fink-client/skyportal_fink_client/skyportal_fink_client.py", line 382, in poll_alerts
    consumer = init_consumer(
  File "/pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/services/fink/skyportal-fink-client/skyportal_fink_client/skyportal_fink_client.py", line 195, in init_consumer
    consumer = AlertConsumer(topics=fink_topics, config=fink_config)
  File "/pdisk/anaconda/envs/skyportal/lib/python3.10/site-packages/fink_client/consumer.py", line 76, in __init__
    self._kafka_config = _get_kafka_config(config)
  File "/pdisk/anaconda/envs/skyportal/lib/python3.10/site-packages/fink_client/consumer.py", line 524, in _get_kafka_config
    kafka_config["group.id"] = config["group.id"]
KeyError: 'group.id'

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

1 participant