Ask Your Question

python SDK. get_topology_builder not working

asked 2019-05-23 13:45:56 -0500

Jmbertoncelli gravatar image

updated 2019-05-23 14:39:27 -0500

metadaddy gravatar image

Hello, I was unable to create and topology instance using: control_hub.get_topology_builder() API. I cannot tell if it is an issue on my side or a bug. Thank you for your support.

python code

import streamsets
import streamsets.sdk
from streamsets import *
from streamsets.sdk import *
control_hub = ControlHub('',username="xxxxxxxx", password="yyyyyyyy")
topology = control_hub.get_topology_builder()

This is the error stack trace:

NameError                                 Traceback (most recent call last)
<ipython-input-16-15ddc7dc45ff> in <module>
----> 1 control_hub.get_topology_builder()
/opt/miniconda/envs/ai36/lib/python3.6/site-packages/streamsets/sdk/ in get_topology_builder(self)
    870         topology['organization'] = self.organization
--> 872         return TopologyBuilder(topology)
    874     @property
NameError: name 'TopologyBuilder' is not defined
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2019-05-24 01:23:53 -0500

Manjit gravatar image

Yes, that is indeed a bug. Thanks for reporting it. We will fix it in the next release of the python SDK. Please let us know if you have some specific timeline needs and we will try to consider it.

edit flag offensive delete link more

answered 2019-05-24 11:35:00 -0500

Jmbertoncelli gravatar image

The issue is that we are building the automation right now and we need to start deploying our pipelines by the mid July. This is unfortunate and would cause us some delay when it comes to provide automated topology views... Could you let me know when this bug could be solved. Of course the sooner the better. Just for you to know, we are developing a process to automatically create pipelines using the SDK and we are using a good number of APIs therefore the likely hood for us to find bugs does increase by many folds. We hope that the SDK will be stable and if not then expect us to be on your shoulders ;>)

Thanks again for your support and this very cool product.


edit flag offensive delete link more


Hi JM - if you are a StreamSets customer (I guess you are, since you're using Control Hub), please open a support ticket so that we can prioritize a fix. We can also look at opening a higher bandwidth channel between you and our engineering productivity team.

metadaddy gravatar imagemetadaddy ( 2019-05-24 18:29:27 -0500 )edit

After taking a look further into this it seems like even after fixing that bug, we need to add more features to this TopologyBuilder. As Pat mentioned above, please open a support ticket so that we can prioritize a fix.

Manjit gravatar imageManjit ( 2019-05-24 19:01:18 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-05-23 13:45:56 -0500

Seen: 71 times

Last updated: May 24