You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a chance that my installations of adc-streaming and hop-client are out-of-sync. This morning I updated both packages by installing from master:
Now whenever I try and initiate a Producer, I get the following error and traceback:
In [4]: from hop.auth import Auth
In [5]: auth=Auth("alexander.pace-ecbf9436","---password-password-password---")
In [6]: from hop import Stream
In [7]: stream = Stream(auth=auth)
In [8]: with stream.open("kafka://kafka.scimma.org/lvalert-dev.test_gstlal", "w") as s:
...: s.write({"my": "message"})
...:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-8-209793b98036> in <module>
----> 1 with stream.open("kafka://kafka.scimma.org/lvalert-dev.test_gstlal", "w") as s:
2 s.write({"my": "message"})
~/djangoenv/lib/python3.7/site-packages/hop/io.py in open(self, url, mode, group_id)
108 if group_id is not None:
109 warnings.warn("group ID has no effect when opening a stream in write mode")
--> 110 return Producer(broker_addresses, topics[0], auth=credential)
111 elif mode == "r":
112 if group_id is None:
~/djangoenv/lib/python3.7/site-packages/hop/io.py in __init__(self, broker_addresses, topic, **kwargs)
376 topic=topic,
377 delivery_callback=errors.raise_delivery_errors,
--> 378 **kwargs,
379 ))
380
TypeError: __init__() got an unexpected keyword argument 'delivery_callback'
An older installation on a different machine works as expected. For reference i'm installing from git to take advantage of functionality that's slated for the next release.
The text was updated successfully, but these errors were encountered:
Sorry, yes, the master branches are known to be out of sync.
We kept hop-client using the old interface for now so that it remains compatible with the latest release of adc-streaming, since we figured most users (including hop developers besides me) are usually installing adc-streaming with pip. The plan was to update hop-client to the new interface once there's a new adc-streaming release.
There's a chance that my installations of
adc-streaming
andhop-client
are out-of-sync. This morning I updated both packages by installing frommaster
:Now whenever I try and initiate a
Producer
, I get the following error and traceback:An older installation on a different machine works as expected. For reference i'm installing from
git
to take advantage of functionality that's slated for the next release.The text was updated successfully, but these errors were encountered: