streamsets/tutorials

control hub connection error

Rache1C opened this issue · 0 comments

Hello, thanks so much for this tutorial, when trying to connect using

control_hub = ControlHub(server_url='http://sch.streamsets.com',
                         username='**********',
                         password='**********')

I get the following error:

Traceback (most recent call last):

File "<stdin>", line 3, in <module>
TypeError: __init__() missing 2 required positional arguments: 'credential_id' and 'token'

Any guidance would be most appreciated. Thanks!