Advertisement
Guest User

Untitled

a guest
Dec 19th, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 274.12 KB | None | 0 0
  1. Last login: Mon Dec 18 17:51:29 on ttys003
  2. ➜ nodejs_project git:(master) ✗ sudo atom /etc/hosts
  3. Password:
  4. ➜ nodejs_project git:(master) ✗
  5. ➜ nodejs_project git:(master) ✗
  6. ➜ nodejs_project git:(master) ✗
  7. ➜ nodejs_project git:(master) ✗
  8. ➜ nodejs_project git:(master) ✗
  9. ➜ nodejs_project git:(master) ✗ cd ..
  10. ➜ binding_with_kafka git:(master) ✗ cd python_project
  11. ➜ python_project git:(master) ✗ python3.6 -m venv ./venv
  12. ➜ python_project git:(master) ✗ source ./venv/bin/activate
  13. (venv) ➜ python_project git:(master) ✗
  14. (venv) ➜ python_project git:(master) ✗
  15. (venv) ➜ python_project git:(master) ✗
  16. (venv) ➜ python_project git:(master) ✗
  17. (venv) ➜ python_project git:(master) ✗
  18. (venv) ➜ python_project git:(master) ✗
  19. (venv) ➜ python_project git:(master) ✗
  20. (venv) ➜ python_project git:(master) ✗ pip list
  21. DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
  22. pip (9.0.1)
  23. setuptools (28.8.0)
  24. (venv) ➜ python_project git:(master) ✗
  25. (venv) ➜ python_project git:(master) ✗
  26. (venv) ➜ python_project git:(master) ✗
  27. (venv) ➜ python_project git:(master) ✗
  28. (venv) ➜ python_project git:(master) ✗ pip install confluent-kafka
  29. Collecting confluent-kafka
  30. Downloading confluent-kafka-0.11.0.tar.gz (42kB)
  31. 100% |████████████████████████████████| 51kB 481kB/s
  32. Installing collected packages: confluent-kafka
  33. Running setup.py install for confluent-kafka ... done
  34. Successfully installed confluent-kafka-0.11.0
  35. (venv) ➜ python_project git:(master) ✗
  36. (venv) ➜ python_project git:(master) ✗
  37. (venv) ➜ python_project git:(master) ✗
  38. (venv) ➜ python_project git:(master) ✗
  39. (venv) ➜ python_project git:(master) ✗
  40. (venv) ➜ python_project git:(master) ✗
  41. (venv) ➜ python_project git:(master) ✗
  42. (venv) ➜ python_project git:(master) ✗
  43. (venv) ➜ python_project git:(master) ✗
  44. (venv) ➜ python_project git:(master) ✗ main.py
  45. zsh: command not found: main.py
  46. (venv) ➜ python_project git:(master) ✗
  47. (venv) ➜ python_project git:(master) ✗
  48. (venv) ➜ python_project git:(master) ✗
  49. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  50. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  51. Received message: b'world'
  52. Received message: b'world'
  53. End of partition reached mytopic/0
  54. ^C% (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  55. End of partition reached mytopic/0
  56. ^C% (venv) ➜ python_project git:(master) ✗
  57. (venv) ➜ python_project git:(master) ✗
  58. (venv) ➜ python_project git:(master) ✗
  59. (venv) ➜ python_project git:(master) ✗
  60. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  61. Received message: b'world'
  62. End of partition reached mytopic/0
  63. ^C% (venv) ➜ python_project git:(master) ✗
  64. (venv) ➜ python_project git:(master) ✗
  65. (venv) ➜ python_project git:(master) ✗
  66. (venv) ➜ python_project git:(master) ✗
  67. (venv) ➜ python_project git:(master) ✗
  68. (venv) ➜ python_project git:(master) ✗
  69. (venv) ➜ python_project git:(master) ✗
  70. (venv) ➜ python_project git:(master) ✗
  71. (venv) ➜ python_project git:(master) ✗
  72. (venv) ➜ python_project git:(master) ✗
  73. (venv) ➜ python_project git:(master) ✗
  74. (venv) ➜ python_project git:(master) ✗
  75. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  76. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  77. (venv) ➜ python_project git:(master) ✗
  78. (venv) ➜ python_project git:(master) ✗
  79. (venv) ➜ python_project git:(master) ✗
  80. (venv) ➜ python_project git:(master) ✗
  81. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  82. Received message: b'world'
  83. Received message: b'world'
  84. End of partition reached mytopic/0
  85.  
  86. ^C% (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  87. End of partition reached mytopic/0
  88. Received message: b'my message'
  89. Received message: b'another message'
  90. Received message: b'even more'
  91. Received message: b'messages'
  92. End of partition reached mytopic/0
  93. ^C% (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  94. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  95. (venv) ➜ python_project git:(master) ✗
  96. (venv) ➜ python_project git:(master) ✗
  97. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  98. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  99. Received message: b'message from python script'
  100. Received message: b'my message'
  101. Received message: b'another message'
  102. Received message: b'even more'
  103. Received message: b'messages'
  104. Received message: b'message from python script'
  105. Received message: b'message from python script'
  106. End of partition reached mytopic/0
  107.  
  108.  
  109.  
  110.  
  111.  
  112. Received message: b'[object Object]'
  113. End of partition reached mytopic/0
  114.  
  115.  
  116. Received message: b'key from javascript'
  117. End of partition reached mytopic/0
  118. ^C% (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  119. End of partition reached mytopic/0
  120. Received message: <cimpl.Message object at 0x1035f41e8>
  121. End of partition reached mytopic/0
  122. ^C% (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  123. End of partition reached mytopic/0
  124. Received message: None, b'key from javascript'
  125. End of partition reached mytopic/0
  126.  
  127.  
  128.  
  129.  
  130.  
  131. Received message: None, b'[object Object]'
  132. End of partition reached mytopic/0
  133. %3|1513616922.776|FAIL|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Receive failed: Disconnected
  134. %3|1513616922.776|ERROR|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Receive failed: Disconnected
  135. %5|1513616922.779|FAIL|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Connection closed
  136. %3|1513616922.779|ERROR|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Connection closed
  137. %3|1513617522.854|FAIL|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Receive failed: Disconnected
  138. %3|1513617522.854|ERROR|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Receive failed: Disconnected
  139. %5|1513617522.854|FAIL|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Connection closed
  140. %3|1513617522.854|ERROR|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Connection closed
  141. %3|1513618422.928|FAIL|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Receive failed: Disconnected
  142. %3|1513618422.928|ERROR|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Receive failed: Disconnected
  143. %5|1513618422.928|FAIL|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Connection closed
  144. %3|1513618422.928|ERROR|client-1#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Connection closed
  145. ^C% (venv) ➜ python_project git:(master) ✗
  146. (venv) ➜ python_project git:(master) ✗
  147. (venv) ➜ python_project git:(master) ✗
  148. (venv) ➜ python_project git:(master) ✗ deactivate
  149. ➜ python_project git:(master) ✗ git init
  150. Initialized empty Git repository in /Users/vlad/Documents/projects/binding_with_kafka/python_project/.git/
  151. ➜ python_project git:(master) ✗
  152. ➜ python_project git:(master) ✗
  153. ➜ python_project git:(master) ✗
  154. ➜ python_project git:(master) ✗ git status
  155. On branch master
  156.  
  157. No commits yet
  158.  
  159. Untracked files:
  160. (use "git add <file>..." to include in what will be committed)
  161.  
  162. main.py
  163. venv/
  164.  
  165. nothing added to commit but untracked files present (use "git add" to track)
  166. ➜ python_project git:(master) ✗ git add main.py
  167. ➜ python_project git:(master) ✗
  168. ➜ python_project git:(master) ✗
  169. ➜ python_project git:(master) ✗
  170. ➜ python_project git:(master) ✗ git commit -m 'First changes'
  171. [master (root-commit) bd0886a] First changes
  172. 1 file changed, 47 insertions(+)
  173. create mode 100644 main.py
  174. ➜ python_project git:(master) ✗
  175. ➜ python_project git:(master) ✗
  176. ➜ python_project git:(master) ✗
  177. ➜ python_project git:(master) ✗
  178. ➜ python_project git:(master) ✗
  179. ➜ python_project git:(master) ✗
  180. ➜ python_project git:(master) ✗
  181. ➜ python_project git:(master) ✗ pip list > requirements.txt
  182. DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
  183. ➜ python_project git:(master) ✗ source ./venv/bin/activate
  184. (venv) ➜ python_project git:(master) ✗
  185. (venv) ➜ python_project git:(master) ✗
  186. (venv) ➜ python_project git:(master) ✗
  187. (venv) ➜ python_project git:(master) ✗
  188. (venv) ➜ python_project git:(master) ✗ pip list > requirements.txt
  189. DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
  190. (venv) ➜ python_project git:(master) ✗
  191. (venv) ➜ python_project git:(master) ✗
  192. (venv) ➜ python_project git:(master) ✗
  193. (venv) ➜ python_project git:(master) ✗
  194. (venv) ➜ python_project git:(master) ✗
  195. (venv) ➜ python_project git:(master) ✗ pip help install
  196.  
  197. Usage:
  198. pip install [options] <requirement specifier> [package-index-options] ...
  199. pip install [options] -r <requirements file> [package-index-options] ...
  200. pip install [options] [-e] <vcs project url> ...
  201. pip install [options] [-e] <local project path> ...
  202. pip install [options] <archive url/path> ...
  203.  
  204. Description:
  205. Install packages from:
  206.  
  207. - PyPI (and other indexes) using requirement specifiers.
  208. - VCS project urls.
  209. - Local project directories.
  210. - Local or remote source archives.
  211.  
  212. pip also supports installing from "requirements files", which provide
  213. an easy way to specify a whole environment to be installed.
  214.  
  215. Install Options:
  216. -c, --constraint <file> Constrain versions using the given constraints file. This option can be used multiple times.
  217. -e, --editable <path/url> Install a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url.
  218. -r, --requirement <file> Install from the given requirements file. This option can be used multiple times.
  219. -b, --build <dir> Directory to unpack packages into and build in.
  220. -t, --target <dir> Install packages into <dir>. By default this will not replace existing files/folders in <dir>. Use --upgrade to replace existing packages in <dir> with new versions.
  221. -d, --download <dir> Download packages into <dir> instead of installing them, regardless of what's already installed.
  222. --src <dir> Directory to check out editable projects into. The default in a virtualenv is "<venv path>/src". The default for global installs is "<current dir>/src".
  223. -U, --upgrade Upgrade all specified packages to the newest available version. The handling of dependencies depends on the upgrade-strategy used.
  224. --upgrade-strategy <upgrade_strategy>
  225. Determines how dependency upgrading should be handled. "eager" - dependencies are upgraded regardless of whether the currently installed version satisfies the requirements of the upgraded package(s). "only-if-needed" - are upgraded only when they do not satisfy the requirements of the
  226. upgraded package(s).
  227. --force-reinstall When upgrading, reinstall all packages even if they are already up-to-date.
  228. -I, --ignore-installed Ignore the installed packages (reinstalling instead).
  229. --ignore-requires-python Ignore the Requires-Python information.
  230. --no-deps Don't install package dependencies.
  231. --install-option <options> Extra arguments to be supplied to the setup.py install command (use like --install-option="--install-scripts=/usr/local/bin"). Use multiple --install-option options to pass multiple options to setup.py install. If you are using an option with a directory path, be sure to use absolute
  232. path.
  233. --global-option <options> Extra global options to be supplied to the setup.py call before the install command.
  234. --user Install to the Python user install directory for your platform. Typically ~/.local/, or %APPDATA%\Python on Windows. (See the Python documentation for site.USER_BASE for full details.)
  235. --egg Install packages as eggs, not 'flat', like pip normally does. This option is not about installing *from* eggs. (WARNING: Because this option overrides pip's normal install logic, requirements files may not behave as expected.)
  236. --root <dir> Install everything relative to this alternate root directory.
  237. --prefix <dir> Installation prefix where lib, bin and other top-level folders are placed
  238. --compile Compile py files to pyc
  239. --no-compile Do not compile py files to pyc
  240. --no-use-wheel Do not Find and prefer wheel archives when searching indexes and find-links locations. DEPRECATED in favour of --no-binary.
  241. --no-binary <format_control>
  242. Do not use binary packages. Can be supplied multiple times, and each time adds to the existing value. Accepts either :all: to disable all binary packages, :none: to empty the set, or one or more package names with commas between them. Note that some packages are tricky to compile and
  243. may fail to install when this option is used on them.
  244. --only-binary <format_control>
  245. Do not use source packages. Can be supplied multiple times, and each time adds to the existing value. Accepts either :all: to disable all source packages, :none: to empty the set, or one or more package names with commas between them. Packages without binary distributions will fail to
  246. install when this option is used on them.
  247. --pre Include pre-release and development versions. By default, pip only finds stable versions.
  248. --no-clean Don't clean up build directories.
  249. --require-hashes Require a hash to check each requirement against, for repeatable installs. This option is implied when any package in a requirements file has a --hash option.
  250.  
  251. Package Index Options (including deprecated options):
  252. -i, --index-url <url> Base URL of Python Package Index (default https://pypi.python.org/simple). This should point to a repository compliant with PEP 503 (the simple repository API) or a local directory laid out in the same format.
  253. --extra-index-url <url> Extra URLs of package indexes to use in addition to --index-url. Should follow the same rules as --index-url.
  254. --no-index Ignore package index (only looking at --find-links URLs instead).
  255. -f, --find-links <url> If a url or path to an html file, then parse for links to archives. If a local path or file:// url that's a directory, then look for archives in the directory listing.
  256. --process-dependency-links Enable the processing of dependency links.
  257.  
  258. General Options:
  259. -h, --help Show help.
  260. --isolated Run pip in an isolated mode, ignoring environment variables and user configuration.
  261. -v, --verbose Give more output. Option is additive, and can be used up to 3 times.
  262. -V, --version Show version and exit.
  263. -q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels).
  264. --log <path> Path to a verbose appending log.
  265. --proxy <proxy> Specify a proxy in the form [user:passwd@]proxy.server:port.
  266. --retries <retries> Maximum number of retries each connection should attempt (default 5 times).
  267. --timeout <sec> Set the socket timeout (default 15 seconds).
  268. --exists-action <action> Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.
  269. --trusted-host <hostname> Mark this host as trusted, even though it does not have valid or any HTTPS.
  270. --cert <path> Path to alternate CA bundle.
  271. --client-cert <path> Path to SSL client certificate, a single file containing the private key and the certificate in PEM format.
  272. --cache-dir <dir> Store the cache data in <dir>.
  273. --no-cache-dir Disable the cache.
  274. --disable-pip-version-check
  275. Don't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index.
  276. (venv) ➜ python_project git:(master) ✗
  277. (venv) ➜ python_project git:(master) ✗
  278. (venv) ➜ python_project git:(master) ✗
  279. (venv) ➜ python_project git:(master) ✗
  280. (venv) ➜ python_project git:(master) ✗
  281. (venv) ➜ python_project git:(master) ✗ pip list
  282. DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
  283. confluent-kafka (0.11.0)
  284. pip (9.0.1)
  285. setuptools (28.8.0)
  286. (venv) ➜ python_project git:(master) ✗
  287. (venv) ➜ python_project git:(master) ✗
  288. (venv) ➜ python_project git:(master) ✗
  289. (venv) ➜ python_project git:(master) ✗ pip install winton-kafka-streams
  290. Collecting winton-kafka-streams
  291. Could not find a version that satisfies the requirement winton-kafka-streams (from versions: )
  292. No matching distribution found for winton-kafka-streams
  293. (venv) ➜ python_project git:(master) ✗
  294. (venv) ➜ python_project git:(master) ✗
  295. (venv) ➜ python_project git:(master) ✗
  296. (venv) ➜ python_project git:(master) ✗
  297. (venv) ➜ python_project git:(master) ✗
  298. (venv) ➜ python_project git:(master) ✗ pip install winton_kafka_streams
  299. Collecting winton_kafka_streams
  300. Could not find a version that satisfies the requirement winton_kafka_streams (from versions: )
  301. No matching distribution found for winton_kafka_streams
  302. (venv) ➜ python_project git:(master) ✗
  303. (venv) ➜ python_project git:(master) ✗
  304. (venv) ➜ python_project git:(master) ✗
  305. (venv) ➜ python_project git:(master) ✗
  306. (venv) ➜ python_project git:(master) ✗
  307. (venv) ➜ python_project git:(master) ✗
  308. (venv) ➜ python_project git:(master) ✗
  309. (venv) ➜ python_project git:(master) ✗
  310. (venv) ➜ python_project git:(master) ✗ pip install winton_kafka_streams
  311. Collecting winton_kafka_streams
  312. Could not find a version that satisfies the requirement winton_kafka_streams (from versions: )
  313. No matching distribution found for winton_kafka_streams
  314. (venv) ➜ python_project git:(master) ✗
  315. (venv) ➜ python_project git:(master) ✗
  316. (venv) ➜ python_project git:(master) ✗
  317. (venv) ➜ python_project git:(master) ✗
  318. (venv) ➜ python_project git:(master) ✗ pip install ../winton-kafka-streams-master.zip
  319. Processing /Users/vlad/Documents/projects/binding_with_kafka/winton-kafka-streams-master.zip
  320. Complete output from command python setup.py egg_info:
  321. Traceback (most recent call last):
  322. File "<string>", line 1, in <module>
  323. File "/private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-9tn85dxr-build/setup.py", line 51, in <module>
  324. 'binning_example': ['jupyter', 'pandas', 'bokeh'],
  325. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 108, in setup
  326. _setup_distribution = dist = klass(attrs)
  327. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/venv/lib/python3.6/site-packages/setuptools/dist.py", line 318, in __init__
  328. _Distribution.__init__(self, attrs)
  329. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 281, in __init__
  330. self.finalize_options()
  331. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/venv/lib/python3.6/site-packages/setuptools/dist.py", line 376, in finalize_options
  332. ep.load()(self, ep.name, value)
  333. File "/private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-9tn85dxr-build/.eggs/setuptools_scm-1.15.6-py3.6.egg/setuptools_scm/integration.py", line 22, in version_keyword
  334. File "/private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-9tn85dxr-build/.eggs/setuptools_scm-1.15.6-py3.6.egg/setuptools_scm/__init__.py", line 119, in get_version
  335. File "/private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-9tn85dxr-build/.eggs/setuptools_scm-1.15.6-py3.6.egg/setuptools_scm/__init__.py", line 97, in _do_parse
  336. LookupError: setuptools-scm was unable to detect version for '/private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-9tn85dxr-build'.
  337.  
  338. Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
  339.  
  340. For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
  341.  
  342. ----------------------------------------
  343. Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-9tn85dxr-build/
  344. (venv) ➜ python_project git:(master) ✗
  345. (venv) ➜ python_project git:(master) ✗
  346. (venv) ➜ python_project git:(master) ✗
  347. (venv) ➜ python_project git:(master) ✗
  348. (venv) ➜ python_project git:(master) ✗
  349. (venv) ➜ python_project git:(master) ✗ pip install ../winton-kafka-streams/
  350. Directory '../winton-kafka-streams/' is not installable. File 'setup.py' not found.
  351. (venv) ➜ python_project git:(master) ✗
  352. (venv) ➜ python_project git:(master) ✗
  353. (venv) ➜ python_project git:(master) ✗
  354. (venv) ➜ python_project git:(master) ✗ pip install ../winton-kafka-streams
  355. Processing /Users/vlad/Documents/projects/binding_with_kafka/winton-kafka-streams
  356. Complete output from command python setup.py egg_info:
  357. Traceback (most recent call last):
  358. File "<string>", line 1, in <module>
  359. File "/private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-me9xhpo3-build/setup.py", line 51, in <module>
  360. 'binning_example': ['jupyter', 'pandas', 'bokeh'],
  361. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 108, in setup
  362. _setup_distribution = dist = klass(attrs)
  363. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/venv/lib/python3.6/site-packages/setuptools/dist.py", line 318, in __init__
  364. _Distribution.__init__(self, attrs)
  365. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 281, in __init__
  366. self.finalize_options()
  367. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/venv/lib/python3.6/site-packages/setuptools/dist.py", line 376, in finalize_options
  368. ep.load()(self, ep.name, value)
  369. File "/private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-me9xhpo3-build/.eggs/setuptools_scm-1.15.6-py3.6.egg/setuptools_scm/integration.py", line 22, in version_keyword
  370. File "/private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-me9xhpo3-build/.eggs/setuptools_scm-1.15.6-py3.6.egg/setuptools_scm/__init__.py", line 119, in get_version
  371. File "/private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-me9xhpo3-build/.eggs/setuptools_scm-1.15.6-py3.6.egg/setuptools_scm/__init__.py", line 97, in _do_parse
  372. LookupError: setuptools-scm was unable to detect version for '/private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-me9xhpo3-build'.
  373.  
  374. Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
  375.  
  376. For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
  377.  
  378. ----------------------------------------
  379. Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/_q/1h896zls3wx50gmt4bmgh_5r0000gr/T/pip-me9xhpo3-build/
  380. (venv) ➜ python_project git:(master) ✗
  381. (venv) ➜ python_project git:(master) ✗
  382. (venv) ➜ python_project git:(master) ✗
  383. (venv) ➜ python_project git:(master) ✗
  384. (venv) ➜ python_project git:(master) ✗
  385. (venv) ➜ python_project git:(master) ✗
  386. (venv) ➜ python_project git:(master) ✗
  387. (venv) ➜ python_project git:(master) ✗
  388. (venv) ➜ python_project git:(master) ✗
  389. (venv) ➜ python_project git:(master) ✗
  390. (venv) ➜ python_project git:(master) ✗
  391. (venv) ➜ python_project git:(master) ✗ pip install winton-kafka-streams
  392. Collecting winton-kafka-streams
  393. Could not find a version that satisfies the requirement winton-kafka-streams (from versions: )
  394. No matching distribution found for winton-kafka-streams
  395. (venv) ➜ python_project git:(master) ✗
  396. (venv) ➜ python_project git:(master) ✗
  397. (venv) ➜ python_project git:(master) ✗
  398. (venv) ➜ python_project git:(master) ✗ pip install --upgrade pip
  399. Requirement already up-to-date: pip in ./venv/lib/python3.6/site-packages
  400. (venv) ➜ python_project git:(master) ✗
  401. (venv) ➜ python_project git:(master) ✗
  402. (venv) ➜ python_project git:(master) ✗
  403. (venv) ➜ python_project git:(master) ✗
  404. (venv) ➜ python_project git:(master) ✗ pip list
  405. DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
  406. confluent-kafka (0.11.0)
  407. pip (9.0.1)
  408. setuptools (28.8.0)
  409. (venv) ➜ python_project git:(master) ✗
  410. (venv) ➜ python_project git:(master) ✗
  411. (venv) ➜ python_project git:(master) ✗
  412. (venv) ➜ python_project git:(master) ✗
  413. (venv) ➜ python_project git:(master) ✗
  414. (venv) ➜ python_project git:(master) ✗
  415. (venv) ➜ python_project git:(master) ✗
  416. (venv) ➜ python_project git:(master) ✗
  417. (venv) ➜ python_project git:(master) ✗
  418. (venv) ➜ python_project git:(master) ✗
  419. (venv) ➜ python_project git:(master) ✗
  420. (venv) ➜ python_project git:(master) ✗ pip install winton-kafka-streams
  421. Collecting winton-kafka-streams
  422. Could not find a version that satisfies the requirement winton-kafka-streams (from versions: )
  423. No matching distribution found for winton-kafka-streams
  424. (venv) ➜ python_project git:(master) ✗ pip install kafka-streams
  425. Collecting kafka-streams
  426. Could not find a version that satisfies the requirement kafka-streams (from versions: )
  427. No matching distribution found for kafka-streams
  428. (venv) ➜ python_project git:(master) ✗
  429. (venv) ➜ python_project git:(master) ✗
  430. (venv) ➜ python_project git:(master) ✗
  431. (venv) ➜ python_project git:(master) ✗
  432. (venv) ➜ python_project git:(master) ✗
  433. (venv) ➜ python_project git:(master) ✗ pip install --pre winton-kafka-streams
  434. Collecting winton-kafka-streams
  435. Could not find a version that satisfies the requirement winton-kafka-streams (from versions: )
  436. No matching distribution found for winton-kafka-streams
  437. (venv) ➜ python_project git:(master) ✗
  438. (venv) ➜ python_project git:(master) ✗
  439. (venv) ➜ python_project git:(master) ✗
  440. (venv) ➜ python_project git:(master) ✗
  441. (venv) ➜ python_project git:(master) ✗
  442. (venv) ➜ python_project git:(master) ✗ python3.6
  443. Python 3.6.3 (default, Oct 4 2017, 06:09:38)
  444. [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)] on darwin
  445. Type "help", "copyright", "credits" or "license" for more information.
  446. >>>
  447. >>> exit()
  448. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  449. Traceback (most recent call last):
  450. File "main.py", line 54, in <module>
  451. read_stream()
  452. File "main.py", line 47, in read_stream
  453. import winton_kafka_streams.kafka_config as kafka_config
  454. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/kafka_config.py", line 24, in <module>
  455. import javaproperties
  456. ModuleNotFoundError: No module named 'javaproperties'
  457. (venv) ➜ python_project git:(master) ✗
  458. (venv) ➜ python_project git:(master) ✗
  459. (venv) ➜ python_project git:(master) ✗
  460. (venv) ➜ python_project git:(master) ✗
  461. (venv) ➜ python_project git:(master) ✗ pip install javaproperties
  462. Collecting javaproperties
  463. Downloading javaproperties-0.4.0-py2.py3-none-any.whl
  464. Collecting six<2,>=1.4.0 (from javaproperties)
  465. Using cached six-1.11.0-py2.py3-none-any.whl
  466. Installing collected packages: six, javaproperties
  467. Successfully installed javaproperties-0.4.0 six-1.11.0
  468. (venv) ➜ python_project git:(master) ✗
  469. (venv) ➜ python_project git:(master) ✗
  470. (venv) ➜ python_project git:(master) ✗
  471. (venv) ➜ python_project git:(master) ✗
  472. (venv) ➜ python_project git:(master) ✗
  473. (venv) ➜ python_project git:(master) ✗
  474. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  475. Traceback (most recent call last):
  476. File "main.py", line 54, in <module>
  477. read_stream()
  478. File "main.py", line 48, in read_stream
  479. config_file = os.path.join(os.path.dirname(__file__), 'config.properties')
  480. NameError: name 'os' is not defined
  481. (venv) ➜ python_project git:(master) ✗
  482. (venv) ➜ python_project git:(master) ✗
  483. (venv) ➜ python_project git:(master) ✗
  484. (venv) ➜ python_project git:(master) ✗
  485. (venv) ➜ python_project git:(master) ✗
  486. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  487. (venv) ➜ python_project git:(master) ✗
  488. (venv) ➜ python_project git:(master) ✗
  489. (venv) ➜ python_project git:(master) ✗
  490. (venv) ➜ python_project git:(master) ✗
  491. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  492. Traceback (most recent call last):
  493. File "main.py", line 73, in <module>
  494. read_stream()
  495. File "main.py", line 59, in read_stream
  496. processor('double', DoubleProcessor, 'input-value')
  497. NameError: name 'DoubleProcessor' is not defined
  498. (venv) ➜ python_project git:(master) ✗
  499. (venv) ➜ python_project git:(master) ✗
  500. (venv) ➜ python_project git:(master) ✗
  501. (venv) ➜ python_project git:(master) ✗
  502. (venv) ➜ python_project git:(master) ✗
  503. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  504. Traceback (most recent call last):
  505. File "main.py", line 73, in <module>
  506. read_stream()
  507. File "main.py", line 65, in read_stream
  508. time.sleep(1)
  509. NameError: name 'time' is not defined
  510. (venv) ➜ python_project git:(master) ✗
  511. (venv) ➜ python_project git:(master) ✗
  512. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  513. Traceback (most recent call last):
  514. File "main.py", line 73, in <module>
  515. read_stream()
  516. File "main.py", line 65, in read_stream
  517. time.sleep(1)
  518. NameError: name 'time' is not defined
  519. (venv) ➜ python_project git:(master) ✗
  520. (venv) ➜ python_project git:(master) ✗
  521. (venv) ➜ python_project git:(master) ✗
  522. (venv) ➜ python_project git:(master) ✗
  523. (venv) ➜ python_project git:(master) ✗
  524. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  525. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  526. Received: b'hello', b'world'
  527. Received: b'hello', b'world'
  528. Received: b'hello', b'world'
  529. Received: b'hello', b'world'
  530. Received: b'hello', b'world'
  531. Received: None, b'my message'
  532. Received: None, b'another message'
  533. Received: None, b'even more'
  534. Received: None, b'messages'
  535. Received: None, b'message from python script'
  536. Received: None, b'my message'
  537. Received: None, b'another message'
  538. Received: None, b'even more'
  539. Received: None, b'messages'
  540. Received: None, b'message from python script'
  541. Received: None, b'message from python script'
  542. Received: None, b'[object Object]'
  543. Received: None, b'key from javascript'
  544. Received: None, b'key from javascript'
  545. Received: None, b'key from javascript'
  546. Received: None, b'[object Object]'
  547. ^C% (venv) ➜ python_project git:(master) ✗
  548. (venv) ➜ python_project git:(master) ✗
  549. (venv) ➜ python_project git:(master) ✗
  550. (venv) ➜ python_project git:(master) ✗ pip install dsfsdafsda
  551. Collecting dsfsdafsda
  552. Could not find a version that satisfies the requirement dsfsdafsda (from versions: )
  553. No matching distribution found for dsfsdafsda
  554. (venv) ➜ python_project git:(master) ✗
  555. (venv) ➜ python_project git:(master) ✗
  556. (venv) ➜ python_project git:(master) ✗
  557. (venv) ➜ python_project git:(master) ✗
  558. (venv) ➜ python_project git:(master) ✗
  559. (venv) ➜ python_project git:(master) ✗
  560. (venv) ➜ python_project git:(master) ✗
  561. (venv) ➜ python_project git:(master) ✗ pip list
  562. DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
  563. confluent-kafka (0.11.0)
  564. javaproperties (0.4.0)
  565. pip (9.0.1)
  566. setuptools (28.8.0)
  567. six (1.11.0)
  568. (venv) ➜ python_project git:(master) ✗
  569. (venv) ➜ python_project git:(master) ✗
  570. (venv) ➜ python_project git:(master) ✗
  571. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  572. Traceback (most recent call last):
  573. File "main.py", line 99, in <module>
  574. write_stream()
  575. File "main.py", line 93, in write_stream
  576. wks.process(key='python stream key', value='python stream value')
  577. AttributeError: 'KafkaStreams' object has no attribute 'process'
  578. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  579. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  580. Exception in thread Thread-1:
  581. Traceback (most recent call last):
  582. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  583. self.run()
  584. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  585. self._target(*self._args, **self._kwargs)
  586. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  587. records = self.poll_requests(0.1)
  588. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  589. record = self.consumer.poll(poll_timeout)
  590. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  591. self.add_stream_tasks(partitions)
  592. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  593. in grouped_tasks.items()]
  594. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  595. for (task_id, partitions)
  596. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  597. self.topology = _topology_builder.build()
  598. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  599. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  600. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  601. self.processors = [processor_builder(self) for processor_builder in processors]
  602. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  603. self.processors = [processor_builder(self) for processor_builder in processors]
  604. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  605. processor_node = ProcessorNode(name, processor_type())
  606. TypeError: __init__() missing 1 required positional argument: '_topic'
  607.  
  608. [1] 47882 segmentation fault python3.6 main.py
  609. (venv) ➜ python_project git:(master) ✗
  610. (venv) ➜ python_project git:(master) ✗
  611. (venv) ➜ python_project git:(master) ✗
  612. (venv) ➜ python_project git:(master) ✗
  613. (venv) ➜ python_project git:(master) ✗
  614. (venv) ➜ python_project git:(master) ✗
  615. (venv) ➜ python_project git:(master) ✗
  616. (venv) ➜ python_project git:(master) ✗
  617. (venv) ➜ python_project git:(master) ✗
  618. (venv) ➜ python_project git:(master) ✗
  619. (venv) ➜ python_project git:(master) ✗
  620. (venv) ➜ python_project git:(master) ✗
  621. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  622. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'close', 'consumer', 'kafka_config', 'on_thread_state_change', 'set_state', 'start', 'state', 'state_lock', 'stream_threads', 'thread_states', 'topology']
  623. Traceback (most recent call last):
  624. File "main.py", line 100, in <module>
  625. write_stream()
  626. File "main.py", line 94, in write_stream
  627. wks.process(key='python stream key', value='python stream value')
  628. AttributeError: 'KafkaStreams' object has no attribute 'process'
  629.  
  630. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  631. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  632. Exception in thread Thread-1:
  633. Traceback (most recent call last):
  634. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  635. self.run()
  636. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  637. self._target(*self._args, **self._kwargs)
  638. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  639. records = self.poll_requests(0.1)
  640. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  641. record = self.consumer.poll(poll_timeout)
  642. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  643. self.add_stream_tasks(partitions)
  644. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  645. in grouped_tasks.items()]
  646. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  647. for (task_id, partitions)
  648. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  649. self.topology = _topology_builder.build()
  650. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  651. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  652. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  653. self.processors = [processor_builder(self) for processor_builder in processors]
  654. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  655. self.processors = [processor_builder(self) for processor_builder in processors]
  656. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  657. processor_node = ProcessorNode(name, processor_type())
  658. TypeError: __init__() missing 1 required positional argument: '_topic'
  659.  
  660. [1] 48030 segmentation fault python3.6 main.py
  661. (venv) ➜ python_project git:(master) ✗
  662.  
  663. (venv) ➜ python_project git:(master) ✗
  664.  
  665. (venv) ➜ python_project git:(master) ✗
  666. (venv) ➜ python_project git:(master) ✗
  667. (venv) ➜ python_project git:(master) ✗
  668. (venv) ➜ python_project git:(master) ✗
  669. (venv) ➜ python_project git:(master) ✗
  670. (venv) ➜ python_project git:(master) ✗
  671. (venv) ➜ python_project git:(master) ✗
  672. (venv) ➜ python_project git:(master) ✗
  673. (venv) ➜ python_project git:(master) ✗
  674. (venv) ➜ python_project git:(master) ✗
  675. (venv) ➜ python_project git:(master) ✗
  676. (venv) ➜ python_project git:(master) ✗
  677. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  678. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  679. Traceback (most recent call last):
  680. File "main.py", line 100, in <module>
  681. write_stream()
  682. File "main.py", line 94, in write_stream
  683. wks.process(key='python stream key', value='python stream value')
  684. AttributeError: 'KafkaStreams' object has no attribute 'process'
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  693. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  694. Exception in thread Thread-1:
  695. Traceback (most recent call last):
  696. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  697. self.run()
  698. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  699. self._target(*self._args, **self._kwargs)
  700. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  701. records = self.poll_requests(0.1)
  702. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  703. record = self.consumer.poll(poll_timeout)
  704. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  705. self.add_stream_tasks(partitions)
  706. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  707. in grouped_tasks.items()]
  708. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  709. for (task_id, partitions)
  710. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  711. self.topology = _topology_builder.build()
  712. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  713. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  714. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  715. self.processors = [processor_builder(self) for processor_builder in processors]
  716. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  717. self.processors = [processor_builder(self) for processor_builder in processors]
  718. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  719. processor_node = ProcessorNode(name, processor_type())
  720. TypeError: __init__() missing 1 required positional argument: '_topic'
  721.  
  722. [1] 48178 segmentation fault python3.6 main.py
  723. (venv) ➜ python_project git:(master) ✗
  724. (venv) ➜ python_project git:(master) ✗
  725. (venv) ➜ python_project git:(master) ✗
  726. (venv) ➜ python_project git:(master) ✗
  727. (venv) ➜ python_project git:(master) ✗
  728. (venv) ➜ python_project git:(master) ✗
  729. (venv) ➜ python_project git:(master) ✗
  730. (venv) ➜ python_project git:(master) ✗
  731. (venv) ➜ python_project git:(master) ✗
  732. (venv) ➜ python_project git:(master) ✗
  733. (venv) ➜ python_project git:(master) ✗
  734. (venv) ➜ python_project git:(master) ✗
  735. (venv) ➜ python_project git:(master) ✗
  736. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  737. ['__call__', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__func__', '__ge__', '__get__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  738. Traceback (most recent call last):
  739. File "main.py", line 100, in <module>
  740. write_stream()
  741. File "main.py", line 94, in write_stream
  742. wks.topology.processor.process(key='python stream key', value='python stream value')
  743. AttributeError: 'function' object has no attribute 'process'
  744.  
  745.  
  746.  
  747.  
  748.  
  749. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  750. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  751. Exception in thread Thread-1:
  752. Traceback (most recent call last):
  753. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  754. self.run()
  755. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  756. self._target(*self._args, **self._kwargs)
  757. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  758. records = self.poll_requests(0.1)
  759. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  760. record = self.consumer.poll(poll_timeout)
  761. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  762. self.add_stream_tasks(partitions)
  763. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  764. in grouped_tasks.items()]
  765. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  766. for (task_id, partitions)
  767. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  768. self.topology = _topology_builder.build()
  769. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  770. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  771. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  772. self.processors = [processor_builder(self) for processor_builder in processors]
  773. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  774. self.processors = [processor_builder(self) for processor_builder in processors]
  775. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  776. processor_node = ProcessorNode(name, processor_type())
  777. TypeError: __init__() missing 1 required positional argument: '_topic'
  778.  
  779. [1] 48336 segmentation fault python3.6 main.py
  780. (venv) ➜ python_project git:(master) ✗
  781. (venv) ➜ python_project git:(master) ✗
  782. (venv) ➜ python_project git:(master) ✗
  783. (venv) ➜ python_project git:(master) ✗
  784. (venv) ➜ python_project git:(master) ✗
  785. (venv) ➜ python_project git:(master) ✗
  786. (venv) ➜ python_project git:(master) ✗
  787. (venv) ➜ python_project git:(master) ✗
  788. (venv) ➜ python_project git:(master) ✗
  789. (venv) ➜ python_project git:(master) ✗
  790. (venv) ➜ python_project git:(master) ✗
  791. (venv) ➜ python_project git:(master) ✗
  792. (venv) ➜ python_project git:(master) ✗
  793. (venv) ➜ python_project git:(master) ✗
  794. (venv) ➜ python_project git:(master) ✗
  795. (venv) ➜ python_project git:(master) ✗
  796. (venv) ➜ python_project git:(master) ✗
  797. (venv) ➜ python_project git:(master) ✗
  798. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  799. ['__call__', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__func__', '__ge__', '__get__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  800. Traceback (most recent call last):
  801. File "main.py", line 100, in <module>
  802. write_stream()
  803. File "main.py", line 94, in write_stream
  804. wks.topology.processor(key='python stream key', value='python stream value')
  805. TypeError: processor() got an unexpected keyword argument 'key'
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  813. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  814. Exception in thread Thread-1:
  815. Traceback (most recent call last):
  816. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  817. self.run()
  818. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  819. self._target(*self._args, **self._kwargs)
  820. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  821. records = self.poll_requests(0.1)
  822. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  823. record = self.consumer.poll(poll_timeout)
  824. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  825. self.add_stream_tasks(partitions)
  826. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  827. in grouped_tasks.items()]
  828. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  829. for (task_id, partitions)
  830. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  831. self.topology = _topology_builder.build()
  832. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  833. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  834. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  835. self.processors = [processor_builder(self) for processor_builder in processors]
  836. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  837. self.processors = [processor_builder(self) for processor_builder in processors]
  838. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  839. processor_node = ProcessorNode(name, processor_type())
  840. TypeError: __init__() missing 1 required positional argument: '_topic'
  841.  
  842. [1] 48523 segmentation fault python3.6 main.py
  843. (venv) ➜ python_project git:(master) ✗
  844. (venv) ➜ python_project git:(master) ✗
  845. (venv) ➜ python_project git:(master) ✗
  846. (venv) ➜ python_project git:(master) ✗
  847. (venv) ➜ python_project git:(master) ✗
  848. (venv) ➜ python_project git:(master) ✗
  849. (venv) ➜ python_project git:(master) ✗
  850. (venv) ➜ python_project git:(master) ✗
  851. (venv) ➜ python_project git:(master) ✗
  852. (venv) ➜ python_project git:(master) ✗
  853. (venv) ➜ python_project git:(master) ✗
  854. (venv) ➜ python_project git:(master) ✗
  855. (venv) ➜ python_project git:(master) ✗
  856. (venv) ➜ python_project git:(master) ✗
  857. (venv) ➜ python_project git:(master) ✗
  858. (venv) ➜ python_project git:(master) ✗
  859. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  860. Traceback (most recent call last):
  861. File "main.py", line 102, in <module>
  862. write_stream()
  863. File "main.py", line 96, in write_stream
  864. processor_1.process(key='python stream key', value='python stream value')
  865. File "main.py", line 84, in process
  866. super().process(self, key, value)
  867. TypeError: process() takes 3 positional arguments but 4 were given
  868. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  869. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  870. Exception in thread Thread-1:
  871. Traceback (most recent call last):
  872. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  873. self.run()
  874. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  875. self._target(*self._args, **self._kwargs)
  876. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  877. records = self.poll_requests(0.1)
  878. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  879. record = self.consumer.poll(poll_timeout)
  880. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  881. self.add_stream_tasks(partitions)
  882. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  883. in grouped_tasks.items()]
  884. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  885. for (task_id, partitions)
  886. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  887. self.topology = _topology_builder.build()
  888. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  889. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  890. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  891. self.processors = [processor_builder(self) for processor_builder in processors]
  892. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  893. self.processors = [processor_builder(self) for processor_builder in processors]
  894. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  895. processor_node = ProcessorNode(name, processor_type())
  896. TypeError: __init__() missing 1 required positional argument: '_topic'
  897.  
  898. [1] 48752 segmentation fault python3.6 main.py
  899. (venv) ➜ python_project git:(master) ✗
  900. (venv) ➜ python_project git:(master) ✗
  901. (venv) ➜ python_project git:(master) ✗
  902. (venv) ➜ python_project git:(master) ✗
  903. (venv) ➜ python_project git:(master) ✗
  904. (venv) ➜ python_project git:(master) ✗
  905. (venv) ➜ python_project git:(master) ✗
  906. (venv) ➜ python_project git:(master) ✗
  907. (venv) ➜ python_project git:(master) ✗
  908. (venv) ➜ python_project git:(master) ✗
  909. (venv) ➜ python_project git:(master) ✗
  910. (venv) ➜ python_project git:(master) ✗
  911. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  912. Traceback (most recent call last):
  913. File "main.py", line 102, in <module>
  914. write_stream()
  915. File "main.py", line 96, in write_stream
  916. processor_1.process('python stream key', 'python stream value')
  917. File "main.py", line 84, in process
  918. super().process(self, key, value)
  919. TypeError: process() takes 3 positional arguments but 4 were given
  920. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  921. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  922. Exception in thread Thread-1:
  923. Traceback (most recent call last):
  924. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  925. self.run()
  926. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  927. self._target(*self._args, **self._kwargs)
  928. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  929. records = self.poll_requests(0.1)
  930. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  931. record = self.consumer.poll(poll_timeout)
  932. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  933. self.add_stream_tasks(partitions)
  934. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  935. in grouped_tasks.items()]
  936. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  937. for (task_id, partitions)
  938. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  939. self.topology = _topology_builder.build()
  940. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  941. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  942. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  943. self.processors = [processor_builder(self) for processor_builder in processors]
  944. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  945. self.processors = [processor_builder(self) for processor_builder in processors]
  946. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  947. processor_node = ProcessorNode(name, processor_type())
  948. TypeError: __init__() missing 1 required positional argument: '_topic'
  949.  
  950. [1] 48892 segmentation fault python3.6 main.py
  951. (venv) ➜ python_project git:(master) ✗
  952. (venv) ➜ python_project git:(master) ✗
  953. (venv) ➜ python_project git:(master) ✗
  954. (venv) ➜ python_project git:(master) ✗
  955. (venv) ➜ python_project git:(master) ✗
  956. (venv) ➜ python_project git:(master) ✗
  957. (venv) ➜ python_project git:(master) ✗
  958. (venv) ➜ python_project git:(master) ✗
  959. (venv) ➜ python_project git:(master) ✗
  960. (venv) ➜ python_project git:(master) ✗
  961. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  962. Traceback (most recent call last):
  963. File "main.py", line 102, in <module>
  964. write_stream()
  965. File "main.py", line 96, in write_stream
  966. processor_1.process(key='python stream key', value='python stream value')
  967. File "main.py", line 84, in process
  968. super().process(key, value)
  969. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  970. self._send(key, value, self.context.timestamp)
  971. AttributeError: 'NoneType' object has no attribute 'timestamp'
  972. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  973. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  974. Exception in thread Thread-1:
  975. Traceback (most recent call last):
  976. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  977. self.run()
  978. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  979. self._target(*self._args, **self._kwargs)
  980. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  981. records = self.poll_requests(0.1)
  982. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  983. record = self.consumer.poll(poll_timeout)
  984. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  985. self.add_stream_tasks(partitions)
  986. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  987. in grouped_tasks.items()]
  988. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  989. for (task_id, partitions)
  990. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  991. self.topology = _topology_builder.build()
  992. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  993. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  994. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  995. self.processors = [processor_builder(self) for processor_builder in processors]
  996. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  997. self.processors = [processor_builder(self) for processor_builder in processors]
  998. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  999. processor_node = ProcessorNode(name, processor_type())
  1000. TypeError: __init__() missing 1 required positional argument: '_topic'
  1001.  
  1002. [1] 49010 segmentation fault python3.6 main.py
  1003. (venv) ➜ python_project git:(master) ✗
  1004. (venv) ➜ python_project git:(master) ✗
  1005. (venv) ➜ python_project git:(master) ✗
  1006. (venv) ➜ python_project git:(master) ✗
  1007. (venv) ➜ python_project git:(master) ✗
  1008. (venv) ➜ python_project git:(master) ✗
  1009. (venv) ➜ python_project git:(master) ✗
  1010. (venv) ➜ python_project git:(master) ✗
  1011. (venv) ➜ python_project git:(master) ✗
  1012. (venv) ➜ python_project git:(master) ✗
  1013. (venv) ➜ python_project git:(master) ✗
  1014. (venv) ➜ python_project git:(master) ✗
  1015. (venv) ➜ python_project git:(master) ✗
  1016. (venv) ➜ python_project git:(master) ✗
  1017. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1018. Traceback (most recent call last):
  1019. File "main.py", line 102, in <module>
  1020. write_stream()
  1021. File "main.py", line 96, in write_stream
  1022. processor_1.process(key='python stream key', value='python stream value')
  1023. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  1024. self._send(key, value, self.context.timestamp)
  1025. AttributeError: 'NoneType' object has no attribute 'timestamp'
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  1032.  
  1033. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  1034. Exception in thread Thread-1:
  1035. Traceback (most recent call last):
  1036. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1037. self.run()
  1038. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1039. self._target(*self._args, **self._kwargs)
  1040. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  1041. records = self.poll_requests(0.1)
  1042. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  1043. record = self.consumer.poll(poll_timeout)
  1044. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  1045. self.add_stream_tasks(partitions)
  1046. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  1047. in grouped_tasks.items()]
  1048. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  1049. for (task_id, partitions)
  1050. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  1051. self.topology = _topology_builder.build()
  1052. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  1053. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  1054. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  1055. self.processors = [processor_builder(self) for processor_builder in processors]
  1056. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  1057. self.processors = [processor_builder(self) for processor_builder in processors]
  1058. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  1059. processor_node = ProcessorNode(name, processor_type())
  1060. TypeError: __init__() missing 1 required positional argument: '_topic'
  1061.  
  1062.  
  1063. [1] 49171 segmentation fault python3.6 main.py
  1064. (venv) ➜ python_project git:(master) ✗
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072. (venv) ➜ python_project git:(master) ✗
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080. (venv) ➜ python_project git:(master) ✗
  1081. (venv) ➜ python_project git:(master) ✗
  1082. (venv) ➜ python_project git:(master) ✗
  1083. (venv) ➜ python_project git:(master) ✗
  1084. (venv) ➜ python_project git:(master) ✗
  1085. (venv) ➜ python_project git:(master) ✗
  1086. (venv) ➜ python_project git:(master) ✗
  1087. (venv) ➜ python_project git:(master) ✗
  1088. (venv) ➜ python_project git:(master) ✗
  1089. (venv) ➜ python_project git:(master) ✗
  1090. (venv) ➜ python_project git:(master) ✗
  1091. (venv) ➜ python_project git:(master) ✗
  1092. (venv) ➜ python_project git:(master) ✗
  1093. (venv) ➜ python_project git:(master) ✗
  1094. (venv) ➜ python_project git:(master) ✗
  1095. (venv) ➜ python_project git:(master) ✗
  1096. (venv) ➜ python_project git:(master) ✗
  1097. (venv) ➜ python_project git:(master) ✗
  1098. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1099. File "main.py", line 93
  1100. print(dir(wks))
  1101. ^
  1102. IndentationError: unexpected indent
  1103. (venv) ➜ python_project git:(master) ✗
  1104. (venv) ➜ python_project git:(master) ✗
  1105. (venv) ➜ python_project git:(master) ✗
  1106. (venv) ➜ python_project git:(master) ✗
  1107. (venv) ➜ python_project git:(master) ✗
  1108. (venv) ➜ python_project git:(master) ✗
  1109. (venv) ➜ python_project git:(master) ✗
  1110. (venv) ➜ python_project git:(master) ✗
  1111. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1112. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'close', 'consumer', 'kafka_config', 'on_thread_state_change', 'set_state', 'start', 'state', 'state_lock', 'stream_threads', 'thread_states', 'topology']
  1113. Unexpected state transition from RUNNING to NOT_RUNNING.
  1114. Traceback (most recent call last):
  1115. File "main.py", line 103, in <module>
  1116. write_stream()
  1117. File "main.py", line 97, in write_stream
  1118. processor_1.process(key='python stream key', value='python stream value')
  1119. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  1120. self._send(key, value, self.context.timestamp)
  1121. AttributeError: 'NoneType' object has no attribute 'timestamp'
  1122. Exception in thread Thread-1:
  1123. Traceback (most recent call last):
  1124. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1125. self.run()
  1126. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1127. self._target(*self._args, **self._kwargs)
  1128. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1129. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1130. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1131.  
  1132. (venv) ➜ python_project git:(master) ✗
  1133. (venv) ➜ python_project git:(master) ✗
  1134. (venv) ➜ python_project git:(master) ✗
  1135. (venv) ➜ python_project git:(master) ✗
  1136. (venv) ➜ python_project git:(master) ✗
  1137. (venv) ➜ python_project git:(master) ✗
  1138. (venv) ➜ python_project git:(master) ✗
  1139. (venv) ➜ python_project git:(master) ✗
  1140. (venv) ➜ python_project git:(master) ✗
  1141. (venv) ➜ python_project git:(master) ✗
  1142. (venv) ➜ python_project git:(master) ✗
  1143. (venv) ➜ python_project git:(master) ✗
  1144. (venv) ➜ python_project git:(master) ✗
  1145. (venv) ➜ python_project git:(master) ✗
  1146. (venv) ➜ python_project git:(master) ✗
  1147. (venv) ➜ python_project git:(master) ✗
  1148. (venv) ➜ python_project git:(master) ✗
  1149. (venv) ➜ python_project git:(master) ✗
  1150. (venv) ➜ python_project git:(master) ✗
  1151. (venv) ➜ python_project git:(master) ✗
  1152. (venv) ➜ python_project git:(master) ✗
  1153. (venv) ➜ python_project git:(master) ✗
  1154. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1155. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  1156. Unexpected state transition from RUNNING to NOT_RUNNING.
  1157. Traceback (most recent call last):
  1158. File "main.py", line 103, in <module>
  1159. write_stream()
  1160. File "main.py", line 97, in write_stream
  1161. processor_1.process(key='python stream key', value='python stream value')
  1162. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  1163. self._send(key, value, self.context.timestamp)
  1164. AttributeError: 'NoneType' object has no attribute 'timestamp'
  1165. Exception in thread Thread-1:
  1166. Traceback (most recent call last):
  1167. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1168. self.run()
  1169. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1170. self._target(*self._args, **self._kwargs)
  1171. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1172. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1173. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1174.  
  1175. (venv) ➜ python_project git:(master) ✗
  1176. (venv) ➜ python_project git:(master) ✗
  1177. (venv) ➜ python_project git:(master) ✗
  1178. (venv) ➜ python_project git:(master) ✗
  1179. (venv) ➜ python_project git:(master) ✗
  1180. (venv) ➜ python_project git:(master) ✗
  1181. (venv) ➜ python_project git:(master) ✗
  1182. (venv) ➜ python_project git:(master) ✗
  1183. (venv) ➜ python_project git:(master) ✗
  1184. (venv) ➜ python_project git:(master) ✗
  1185. (venv) ➜ python_project git:(master) ✗
  1186. (venv) ➜ python_project git:(master) ✗
  1187. (venv) ➜ python_project git:(master) ✗
  1188. (venv) ➜ python_project git:(master) ✗
  1189. (venv) ➜ python_project git:(master) ✗
  1190. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1191. ['__call__', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__func__', '__ge__', '__get__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  1192. Unexpected state transition from RUNNING to NOT_RUNNING.
  1193. Traceback (most recent call last):
  1194. File "main.py", line 103, in <module>
  1195. write_stream()
  1196. File "main.py", line 97, in write_stream
  1197. Exception in thread Thread-1:
  1198. Traceback (most recent call last):
  1199. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1200. self.run()
  1201. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1202. self._target(*self._args, **self._kwargs)
  1203. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1204. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1205. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1206.  
  1207. processor_1.process(key='python stream key', value='python stream value')
  1208. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  1209. self._send(key, value, self.context.timestamp)
  1210. AttributeError: 'NoneType' object has no attribute 'timestamp'
  1211. (venv) ➜ python_project git:(master) ✗
  1212. (venv) ➜ python_project git:(master) ✗
  1213. (venv) ➜ python_project git:(master) ✗
  1214. (venv) ➜ python_project git:(master) ✗
  1215. (venv) ➜ python_project git:(master) ✗
  1216. (venv) ➜ python_project git:(master) ✗
  1217. (venv) ➜ python_project git:(master) ✗
  1218. (venv) ➜ python_project git:(master) ✗
  1219. (venv) ➜ python_project git:(master) ✗
  1220. (venv) ➜ python_project git:(master) ✗
  1221. (venv) ➜ python_project git:(master) ✗
  1222. (venv) ➜ python_project git:(master) ✗
  1223. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1224. Unexpected state transition from RUNNING to NOT_RUNNING.
  1225. Traceback (most recent call last):
  1226. File "main.py", line 103, in <module>
  1227. write_stream()
  1228. File "main.py", line 97, in write_stream
  1229. processor_1.topology.sink(key='python stream key', value='python stream value')
  1230. Exception in thread Thread-1:
  1231. Traceback (most recent call last):
  1232. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1233. self.run()
  1234. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1235. self._target(*self._args, **self._kwargs)
  1236. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1237. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1238. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1239.  
  1240. AttributeError: 'WriteProcessor' object has no attribute 'topology'
  1241. (venv) ➜ python_project git:(master) ✗
  1242. (venv) ➜ python_project git:(master) ✗
  1243. (venv) ➜ python_project git:(master) ✗
  1244. (venv) ➜ python_project git:(master) ✗
  1245. (venv) ➜ python_project git:(master) ✗
  1246. (venv) ➜ python_project git:(master) ✗
  1247. (venv) ➜ python_project git:(master) ✗
  1248. (venv) ➜ python_project git:(master) ✗
  1249. (venv) ➜ python_project git:(master) ✗
  1250. (venv) ➜ python_project git:(master) ✗
  1251. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1252. Unexpected state transition from RUNNING to NOT_RUNNING.
  1253. Traceback (most recent call last):
  1254. File "main.py", line 103, in <module>
  1255. Exception in thread Thread-1:
  1256. Traceback (most recent call last):
  1257. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1258. self.run()
  1259. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1260. self._target(*self._args, **self._kwargs)
  1261. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1262. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1263. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1264.  
  1265. write_stream()
  1266. File "main.py", line 97, in write_stream
  1267. processor_1.sink(key='python stream key', value='python stream value')
  1268. AttributeError: 'WriteProcessor' object has no attribute 'sink'
  1269. (venv) ➜ python_project git:(master) ✗
  1270. (venv) ➜ python_project git:(master) ✗
  1271. (venv) ➜ python_project git:(master) ✗
  1272. (venv) ➜ python_project git:(master) ✗
  1273. (venv) ➜ python_project git:(master) ✗
  1274. (venv) ➜ python_project git:(master) ✗
  1275. (venv) ➜ python_project git:(master) ✗
  1276. (venv) ➜ python_project git:(master) ✗
  1277. (venv) ➜ python_project git:(master) ✗
  1278. (venv) ➜ python_project git:(master) ✗
  1279. (venv) ➜ python_project git:(master) ✗
  1280. (venv) ➜ python_project git:(master) ✗
  1281. (venv) ➜ python_project git:(master) ✗
  1282. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1283. Unexpected state transition from RUNNING to NOT_RUNNING.
  1284. Traceback (most recent call last):
  1285. File "main.py", line 103, in <module>
  1286. write_stream()
  1287. File "main.py", line 97, in write_stream
  1288. wks.topology.sink(key='python stream key', value='python stream value')
  1289. TypeError: sink() got an unexpected keyword argument 'key'
  1290. Exception in thread Thread-1:
  1291. Traceback (most recent call last):
  1292. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1293. self.run()
  1294. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1295. self._target(*self._args, **self._kwargs)
  1296. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1297. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1298. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1299.  
  1300. (venv) ➜ python_project git:(master) ✗
  1301. (venv) ➜ python_project git:(master) ✗
  1302. (venv) ➜ python_project git:(master) ✗
  1303. (venv) ➜ python_project git:(master) ✗
  1304. (venv) ➜ python_project git:(master) ✗
  1305. (venv) ➜ python_project git:(master) ✗
  1306. (venv) ➜ python_project git:(master) ✗
  1307. (venv) ➜ python_project git:(master) ✗
  1308. (venv) ➜ python_project git:(master) ✗
  1309. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1310. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  1311. Unexpected state transition from RUNNING to NOT_RUNNING.
  1312. Unexpected state transition from NOT_RUNNING to PENDING_SHUTDOWN.
  1313. Exception in thread Thread-1:
  1314. Traceback (most recent call last):
  1315. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1316. self.run()
  1317. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1318. self._target(*self._args, **self._kwargs)
  1319. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1320. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1321. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1322.  
  1323.  
  1324. (venv) ➜ python_project git:(master) ✗
  1325. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1326. ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']
  1327. Unexpected state transition from RUNNING to NOT_RUNNING.
  1328. Exception in thread Thread-1:
  1329. Traceback (most recent call last):
  1330. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1331. self.run()
  1332. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1333. self._target(*self._args, **self._kwargs)
  1334. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1335. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1336. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1337.  
  1338. (venv) ➜ python_project git:(master) ✗
  1339. (venv) ➜ python_project git:(master) ✗
  1340. (venv) ➜ python_project git:(master) ✗
  1341. (venv) ➜ python_project git:(master) ✗
  1342. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1343. ['__call__', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__func__', '__ge__', '__get__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  1344. Unexpected state transition from RUNNING to NOT_RUNNING.
  1345. Exception in thread Thread-1:
  1346. Traceback (most recent call last):
  1347. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1348. self.run()
  1349. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1350. self._target(*self._args, **self._kwargs)
  1351. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1352. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1353. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1354.  
  1355. (venv) ➜ python_project git:(master) ✗
  1356. (venv) ➜ python_project git:(master) ✗
  1357. (venv) ➜ python_project git:(master) ✗
  1358. (venv) ➜ python_project git:(master) ✗
  1359. (venv) ➜ python_project git:(master) ✗
  1360. (venv) ➜ python_project git:(master) ✗
  1361. (venv) ➜ python_project git:(master) ✗
  1362. (venv) ➜ python_project git:(master) ✗
  1363. (venv) ➜ python_project git:(master) ✗
  1364. (venv) ➜ python_project git:(master) ✗
  1365. (venv) ➜ python_project git:(master) ✗
  1366. (venv) ➜ python_project git:(master) ✗
  1367. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1368. ['__call__', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__func__', '__ge__', '__get__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  1369. Unexpected state transition from RUNNING to NOT_RUNNING.
  1370. Exception in thread Thread-1:
  1371. Traceback (most recent call last):
  1372. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1373. self.run()
  1374. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1375. self._target(*self._args, **self._kwargs)
  1376. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1377. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1378. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1379.  
  1380. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1381. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  1382. Unexpected state transition from RUNNING to NOT_RUNNING.
  1383. Exception in thread Thread-1:
  1384. Traceback (most recent call last):
  1385. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1386. self.run()
  1387. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1388. self._target(*self._args, **self._kwargs)
  1389. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1390. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1391. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1392.  
  1393. (venv) ➜ python_project git:(master) ✗
  1394. (venv) ➜ python_project git:(master) ✗
  1395. (venv) ➜ python_project git:(master) ✗
  1396. (venv) ➜ python_project git:(master) ✗
  1397. (venv) ➜ python_project git:(master) ✗
  1398. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1399. ['__call__', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__func__', '__ge__', '__get__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  1400. Unexpected state transition from RUNNING to NOT_RUNNING.
  1401. Exception in thread Thread-1:
  1402. Traceback (most recent call last):
  1403. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1404. self.run()
  1405. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1406. self._target(*self._args, **self._kwargs)
  1407. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1408. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1409. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1410.  
  1411. (venv) ➜ python_project git:(master) ✗
  1412. (venv) ➜ python_project git:(master) ✗
  1413. (venv) ➜ python_project git:(master) ✗
  1414. (venv) ➜ python_project git:(master) ✗
  1415. (venv) ➜ python_project git:(master) ✗
  1416. (venv) ➜ python_project git:(master) ✗
  1417. (venv) ➜ python_project git:(master) ✗
  1418. (venv) ➜ python_project git:(master) ✗
  1419. (venv) ➜ python_project git:(master) ✗
  1420. (venv) ➜ python_project git:(master) ✗
  1421. (venv) ➜ python_project git:(master) ✗
  1422. (venv) ➜ python_project git:(master) ✗
  1423. (venv) ➜ python_project git:(master) ✗
  1424. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1425.  
  1426. ['__call__', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__func__', '__ge__', '__get__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  1427. Unexpected state transition from RUNNING to NOT_RUNNING.
  1428. Exception in thread Thread-1:
  1429. Traceback (most recent call last):
  1430. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1431. self.run()
  1432. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1433. self._target(*self._args, **self._kwargs)
  1434. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1435. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1436. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1437.  
  1438. (venv) ➜ python_project git:(master) ✗
  1439. (venv) ➜ python_project git:(master) ✗
  1440. (venv) ➜ python_project git:(master) ✗
  1441. (venv) ➜ python_project git:(master) ✗
  1442. (venv) ➜ python_project git:(master) ✗
  1443. (venv) ➜ python_project git:(master) ✗
  1444. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1445. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'close', 'consumer', 'kafka_config', 'on_thread_state_change', 'set_state', 'start', 'state', 'state_lock', 'stream_threads', 'thread_states', 'topology']
  1446. Unexpected state transition from RUNNING to NOT_RUNNING.
  1447. Traceback (most recent call last):
  1448. File "main.py", line 109, in <module>
  1449. write_stream()
  1450. File "main.py", line 100, in write_stream
  1451. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, consumer, producer, kafka_config)
  1452. NameError: name 'StreamTask' is not defined
  1453. Exception in thread Thread-1:
  1454. Traceback (most recent call last):
  1455. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1456. self.run()
  1457. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1458. self._target(*self._args, **self._kwargs)
  1459. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1460. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1461. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1462.  
  1463. (venv) ➜ python_project git:(master) ✗
  1464. (venv) ➜ python_project git:(master) ✗
  1465. (venv) ➜ python_project git:(master) ✗
  1466. (venv) ➜ python_project git:(master) ✗
  1467. (venv) ➜ python_project git:(master) ✗
  1468. (venv) ➜ python_project git:(master) ✗
  1469. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1470. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  1471. Unexpected state transition from RUNNING to NOT_RUNNING.
  1472. Traceback (most recent call last):
  1473. File "main.py", line 109, in <module>
  1474. write_stream()
  1475. File "main.py", line 100, in write_stream
  1476. Exception in thread Thread-1:
  1477. Traceback (most recent call last):
  1478. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1479. self.run()
  1480. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1481. self._target(*self._args, **self._kwargs)
  1482. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1483. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1484. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1485.  
  1486. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.consumer, producer, wks.kafka_config)
  1487. NameError: name 'StreamTask' is not defined
  1488. (venv) ➜ python_project git:(master) ✗
  1489. (venv) ➜ python_project git:(master) ✗
  1490. (venv) ➜ python_project git:(master) ✗
  1491. (venv) ➜ python_project git:(master) ✗
  1492. (venv) ➜ python_project git:(master) ✗
  1493. (venv) ➜ python_project git:(master) ✗
  1494. (venv) ➜ python_project git:(master) ✗
  1495. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1496. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'close', 'consumer', 'kafka_config', 'on_thread_state_change', 'set_state', 'start', 'state', 'state_lock', 'stream_threads', 'thread_states', 'topology']
  1497. Unexpected state transition from RUNNING to NOT_RUNNING.
  1498. Traceback (most recent call last):
  1499. File "main.py", line 109, in <module>
  1500. write_stream()
  1501. File "main.py", line 100, in write_stream
  1502. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.consumer, producer, wks.kafka_config)
  1503. NameError: name 'StreamTask' is not defined
  1504. Exception in thread Thread-1:
  1505. Traceback (most recent call last):
  1506. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1507. self.run()
  1508. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1509. self._target(*self._args, **self._kwargs)
  1510. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1511. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1512. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1513.  
  1514. (venv) ➜ python_project git:(master) ✗
  1515. (venv) ➜ python_project git:(master) ✗
  1516. (venv) ➜ python_project git:(master) ✗
  1517. (venv) ➜ python_project git:(master) ✗
  1518. (venv) ➜ python_project git:(master) ✗
  1519. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1520. ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']
  1521. Unexpected state transition from RUNNING to NOT_RUNNING.
  1522. Traceback (most recent call last):
  1523. File "main.py", line 109, in <module>
  1524. write_stream()
  1525. File "main.py", line 100, in write_stream
  1526. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.consumer, producer, wks.kafka_config)
  1527. NameError: name 'StreamTask' is not defined
  1528. Exception in thread Thread-1:
  1529. Traceback (most recent call last):
  1530. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1531. self.run()
  1532. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1533. self._target(*self._args, **self._kwargs)
  1534. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1535. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1536. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1537.  
  1538. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1539. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_records_to_tasks', 'add_stream_tasks', 'close', 'commit', 'commit_all', 'config', 'consumer', 'kafka_supplier', 'log', 'on_assign', 'on_revoke', 'poll_requests', 'process_and_punctuate', 'run', 'set_state', 'set_state_listener', 'set_state_when_not_in_pending_shutdown', 'shutdown', 'start', 'state', 'state_listener', 'still_running', 'tasks', 'thread', 'thread_id', 'topics', 'topology']
  1540. Unexpected state transition from RUNNING to NOT_RUNNING.
  1541. Traceback (most recent call last):
  1542. File "main.py", line 109, in <module>
  1543. Exception in thread Thread-1:
  1544. Traceback (most recent call last):
  1545. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1546. self.run()
  1547. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1548. self._target(*self._args, **self._kwargs)
  1549. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1550. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1551. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1552.  
  1553. write_stream()
  1554. File "main.py", line 100, in write_stream
  1555. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.consumer, producer, wks.kafka_config)
  1556. NameError: name 'StreamTask' is not defined
  1557. (venv) ➜ python_project git:(master) ✗
  1558. (venv) ➜ python_project git:(master) ✗
  1559. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1560. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_records_to_tasks', 'add_stream_tasks', 'close', 'commit', 'commit_all', 'config', 'consumer', 'kafka_supplier', 'log', 'on_assign', 'on_revoke', 'poll_requests', 'process_and_punctuate', 'run', 'set_state', 'set_state_listener', 'set_state_when_not_in_pending_shutdown', 'shutdown', 'start', 'state', 'state_listener', 'still_running', 'tasks', 'thread', 'thread_id', 'topics', 'topology']
  1561. Unexpected state transition from RUNNING to NOT_RUNNING.
  1562. Traceback (most recent call last):
  1563. File "main.py", line 109, in <module>
  1564. write_stream()
  1565. File "main.py", line 100, in write_stream
  1566. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.consumer, wks.stream_threads[0].kafka_supplier.producer(), wks.kafka_config)
  1567. NameError: name 'StreamTask' is not defined
  1568. Exception in thread Thread-1:
  1569. Traceback (most recent call last):
  1570. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1571. self.run()
  1572. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1573. self._target(*self._args, **self._kwargs)
  1574. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1575. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1576. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1577.  
  1578. (venv) ➜ python_project git:(master) ✗
  1579. (venv) ➜ python_project git:(master) ✗
  1580. (venv) ➜ python_project git:(master) ✗
  1581. (venv) ➜ python_project git:(master) ✗
  1582. (venv) ➜ python_project git:(master) ✗
  1583. (venv) ➜ python_project git:(master) ✗
  1584. (venv) ➜ python_project git:(master) ✗
  1585. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1586. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_records_to_tasks', 'add_stream_tasks', 'close', 'commit', 'commit_all', 'config', 'consumer', 'kafka_supplier', 'log', 'on_assign', 'on_revoke', 'poll_requests', 'process_and_punctuate', 'run', 'set_state', 'set_state_listener', 'set_state_when_not_in_pending_shutdown', 'shutdown', 'start', 'state', 'state_listener', 'still_running', 'tasks', 'thread', 'thread_id', 'topics', 'topology']
  1587. Unexpected state transition from RUNNING to NOT_RUNNING.
  1588. Traceback (most recent call last):
  1589. File "main.py", line 109, in <module>
  1590. Exception in thread Thread-1:
  1591. Traceback (most recent call last):
  1592. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1593. self.run()
  1594. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1595. self._target(*self._args, **self._kwargs)
  1596. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1597. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1598. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1599.  
  1600. write_stream()
  1601. File "main.py", line 100, in write_stream
  1602. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.consumer(), wks.stream_threads[0].kafka_supplier.producer(), wks.kafka_config)
  1603. NameError: name 'StreamTask' is not defined
  1604. (venv) ➜ python_project git:(master) ✗
  1605. (venv) ➜ python_project git:(master) ✗
  1606. (venv) ➜ python_project git:(master) ✗
  1607. (venv) ➜ python_project git:(master) ✗
  1608. (venv) ➜ python_project git:(master) ✗
  1609. (venv) ➜ python_project git:(master) ✗
  1610. (venv) ➜ python_project git:(master) ✗
  1611. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1612. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_records_to_tasks', 'add_stream_tasks', 'close', 'commit', 'commit_all', 'config', 'consumer', 'kafka_supplier', 'log', 'on_assign', 'on_revoke', 'poll_requests', 'process_and_punctuate', 'run', 'set_state', 'set_state_listener', 'set_state_when_not_in_pending_shutdown', 'shutdown', 'start', 'state', 'state_listener', 'still_running', 'tasks', 'thread', 'thread_id', 'topics', 'topology']
  1613. Unexpected state transition from RUNNING to NOT_RUNNING.
  1614. Traceback (most recent call last):
  1615. File "main.py", line 110, in <module>
  1616. write_stream()
  1617. File "main.py", line 101, in write_stream
  1618. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.consumer(), wks.stream_threads[0].kafka_supplier.producer(), wks.kafka_config)
  1619. NameError: name 'TaskId' is not defined
  1620. Exception in thread Thread-1:
  1621. Traceback (most recent call last):
  1622. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1623. self.run()
  1624. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1625. self._target(*self._args, **self._kwargs)
  1626. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1627. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1628. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1629.  
  1630. (venv) ➜ python_project git:(master) ✗
  1631. (venv) ➜ python_project git:(master) ✗
  1632. (venv) ➜ python_project git:(master) ✗
  1633. (venv) ➜ python_project git:(master) ✗
  1634. (venv) ➜ python_project git:(master) ✗
  1635. (venv) ➜ python_project git:(master) ✗
  1636. (venv) ➜ python_project git:(master) ✗
  1637. (venv) ➜ python_project git:(master) ✗
  1638. (venv) ➜ python_project git:(master) ✗
  1639. (venv) ➜ python_project git:(master) ✗
  1640. (venv) ➜ python_project git:(master) ✗
  1641. (venv) ➜ python_project git:(master) ✗
  1642. (venv) ➜ python_project git:(master) ✗
  1643. (venv) ➜ python_project git:(master) ✗
  1644. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1645. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_records_to_tasks', 'add_stream_tasks', 'close', 'commit', 'commit_all', 'config', 'consumer', 'kafka_supplier', 'log', 'on_assign', 'on_revoke', 'poll_requests', 'process_and_punctuate', 'run', 'set_state', 'set_state_listener', 'set_state_when_not_in_pending_shutdown', 'shutdown', 'start', 'state', 'state_listener', 'still_running', 'tasks', 'thread', 'thread_id', 'topics', 'topology']
  1646. Unexpected state transition from RUNNING to NOT_RUNNING.
  1647. Traceback (most recent call last):
  1648. File "main.py", line 111, in <module>
  1649. write_stream()
  1650. File "main.py", line 102, in write_stream
  1651. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.consumer(), wks.stream_threads[0].kafka_supplier.producer(), wks.kafka_config)
  1652. TypeError: 'NoneType' object is not callable
  1653. Exception in thread Thread-1:
  1654. Traceback (most recent call last):
  1655. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1656. self.run()
  1657. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1658. self._target(*self._args, **self._kwargs)
  1659. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1660. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1661. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1662.  
  1663. (venv) ➜ python_project git:(master) ✗
  1664. (venv) ➜ python_project git:(master) ✗
  1665. (venv) ➜ python_project git:(master) ✗
  1666. (venv) ➜ python_project git:(master) ✗
  1667. (venv) ➜ python_project git:(master) ✗
  1668. (venv) ➜ python_project git:(master) ✗
  1669. (venv) ➜ python_project git:(master) ✗
  1670. (venv) ➜ python_project git:(master) ✗
  1671. (venv) ➜ python_project git:(master) ✗
  1672. (venv) ➜ python_project git:(master) ✗
  1673. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1674. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_records_to_tasks', 'add_stream_tasks', 'close', 'commit', 'commit_all', 'config', 'consumer', 'kafka_supplier', 'log', 'on_assign', 'on_revoke', 'poll_requests', 'process_and_punctuate', 'run', 'set_state', 'set_state_listener', 'set_state_when_not_in_pending_shutdown', 'shutdown', 'start', 'state', 'state_listener', 'still_running', 'tasks', 'thread', 'thread_id', 'topics', 'topology']
  1675. Unexpected state transition from RUNNING to NOT_RUNNING.
  1676. Traceback (most recent call last):
  1677. File "main.py", line 111, in <module>
  1678. write_stream()
  1679. File "main.py", line 102, in write_stream
  1680. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.stream_threads[0].kafka_supplier.consumer(), wks.stream_threads[0].kafka_supplier.producer(), wks.kafka_config)
  1681. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  1682. Exception in thread Thread-1:
  1683. Traceback (most recent call last):
  1684. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1685. self.run()
  1686. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1687. self._target(*self._args, **self._kwargs)
  1688. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1689. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1690. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1691.  
  1692. self.topology = _topology_builder.build()
  1693. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  1694. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  1695. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 50, in __init__
  1696. self.sinks = [sink_builder(self) for sink_builder in sinks]
  1697. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 50, in <listcomp>
  1698. self.sinks = [sink_builder(self) for sink_builder in sinks]
  1699. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 203, in build_sink
  1700. topology._add_node(name, sink, parents)
  1701. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 63, in _add_node
  1702. node_inputs = list(self.nodes[i] for i in inputs)
  1703. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 63, in <genexpr>
  1704. node_inputs = list(self.nodes[i] for i in inputs)
  1705. KeyError: 'my-processor'
  1706. (venv) ➜ python_project git:(master) ✗
  1707. (venv) ➜ python_project git:(master) ✗
  1708. (venv) ➜ python_project git:(master) ✗
  1709. (venv) ➜ python_project git:(master) ✗
  1710. (venv) ➜ python_project git:(master) ✗
  1711. (venv) ➜ python_project git:(master) ✗
  1712. (venv) ➜ python_project git:(master) ✗
  1713. (venv) ➜ python_project git:(master) ✗
  1714. (venv) ➜ python_project git:(master) ✗
  1715. (venv) ➜ python_project git:(master) ✗
  1716. (venv) ➜ python_project git:(master) ✗
  1717. (venv) ➜ python_project git:(master) ✗
  1718. (venv) ➜ python_project git:(master) ✗
  1719. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1720. Unexpected state transition from RUNNING to NOT_RUNNING.
  1721. Traceback (most recent call last):
  1722. File "main.py", line 111, in <module>
  1723. write_stream()
  1724. File "main.py", line 102, in write_stream
  1725. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.stream_threads[0].kafka_supplier.consumer(), wks.stream_threads[0].kafka_supplier.producer(), wks.kafka_config)
  1726. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  1727. self.topology = _topology_builder.build()
  1728. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  1729. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  1730. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 50, in __init__
  1731. self.sinks = [sink_builder(self) for sink_builder in sinks]
  1732. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 50, in <listcomp>
  1733. self.sinks = [sink_builder(self) for sink_builder in sinks]
  1734. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 203, in build_sink
  1735. topology._add_node(name, sink, parents)
  1736. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 63, in _add_node
  1737. Exception in thread Thread-1:
  1738. Traceback (most recent call last):
  1739. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1740. self.run()
  1741. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1742. self._target(*self._args, **self._kwargs)
  1743. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1744. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1745. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1746.  
  1747. node_inputs = list(self.nodes[i] for i in inputs)
  1748. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 63, in <genexpr>
  1749. node_inputs = list(self.nodes[i] for i in inputs)
  1750. KeyError: <class '__main__.write_stream.<locals>.WriteProcessor'>
  1751. (venv) ➜ python_project git:(master) ✗
  1752. (venv) ➜ python_project git:(master) ✗
  1753. (venv) ➜ python_project git:(master) ✗
  1754. (venv) ➜ python_project git:(master) ✗
  1755. (venv) ➜ python_project git:(master) ✗
  1756. (venv) ➜ python_project git:(master) ✗
  1757. (venv) ➜ python_project git:(master) ✗
  1758. (venv) ➜ python_project git:(master) ✗
  1759. (venv) ➜ python_project git:(master) ✗
  1760. (venv) ➜ python_project git:(master) ✗
  1761. (venv) ➜ python_project git:(master) ✗
  1762. (venv) ➜ python_project git:(master) ✗
  1763. (venv) ➜ python_project git:(master) ✗
  1764. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1765. Unexpected state transition from RUNNING to NOT_RUNNING.
  1766. Traceback (most recent call last):
  1767. File "main.py", line 111, in <module>
  1768. write_stream()
  1769. Exception in thread Thread-1:
  1770. Traceback (most recent call last):
  1771. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1772. self.run()
  1773. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1774. self._target(*self._args, **self._kwargs)
  1775. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1776. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1777. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1778.  
  1779. File "main.py", line 102, in write_stream
  1780. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.stream_threads[0].kafka_supplier.consumer(), wks.stream_threads[0].kafka_supplier.producer(), wks.kafka_config)
  1781. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  1782. self.topology = _topology_builder.build()
  1783. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  1784. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  1785. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  1786. self.processors = [processor_builder(self) for processor_builder in processors]
  1787. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  1788. self.processors = [processor_builder(self) for processor_builder in processors]
  1789. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  1790. processor_node = ProcessorNode(name, processor_type())
  1791. TypeError: __init__() missing 1 required positional argument: '_topic'
  1792. (venv) ➜ python_project git:(master) ✗
  1793. (venv) ➜ python_project git:(master) ✗
  1794. (venv) ➜ python_project git:(master) ✗
  1795. (venv) ➜ python_project git:(master) ✗
  1796. (venv) ➜ python_project git:(master) ✗
  1797. (venv) ➜ python_project git:(master) ✗
  1798. (venv) ➜ python_project git:(master) ✗
  1799. (venv) ➜ python_project git:(master) ✗
  1800. (venv) ➜ python_project git:(master) ✗
  1801. (venv) ➜ python_project git:(master) ✗
  1802. (venv) ➜ python_project git:(master) ✗
  1803. (venv) ➜ python_project git:(master) ✗
  1804. (venv) ➜ python_project git:(master) ✗
  1805. (venv) ➜ python_project git:(master) ✗
  1806. (venv) ➜ python_project git:(master) ✗
  1807. (venv) ➜ python_project git:(master) ✗
  1808. (venv) ➜ python_project git:(master) ✗
  1809. (venv) ➜ python_project git:(master) ✗
  1810. (venv) ➜ python_project git:(master) ✗
  1811. (venv) ➜ python_project git:(master) ✗
  1812. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1813. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_records_to_tasks', 'add_stream_tasks', 'close', 'commit', 'commit_all', 'config', 'consumer', 'kafka_supplier', 'log', 'on_assign', 'on_revoke', 'poll_requests', 'process_and_punctuate', 'run', 'set_state', 'set_state_listener', 'set_state_when_not_in_pending_shutdown', 'shutdown', 'start', 'state', 'state_listener', 'still_running', 'tasks', 'thread', 'thread_id', 'topics', 'topology']
  1814. Unexpected state transition from RUNNING to NOT_RUNNING.
  1815. Traceback (most recent call last):
  1816. File "main.py", line 111, in <module>
  1817. write_stream()
  1818. File "main.py", line 102, in write_stream
  1819. task = StreamTask(TaskId('testgroup', 0), "myapp", [0], topology_builder, wks.stream_threads[0].kafka_supplier.consumer(), wks.stream_threads[0].kafka_supplier.producer(), wks.kafka_config)
  1820. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  1821. self.topology = _topology_builder.build()
  1822. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  1823. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  1824. Exception in thread Thread-1:
  1825. Traceback (most recent call last):
  1826. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1827. self.run()
  1828. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1829. self._target(*self._args, **self._kwargs)
  1830. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1831. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1832. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1833.  
  1834. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  1835. self.processors = [processor_builder(self) for processor_builder in processors]
  1836. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  1837. self.processors = [processor_builder(self) for processor_builder in processors]
  1838. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  1839. processor_node = ProcessorNode(name, processor_type())
  1840. TypeError: __init__() missing 1 required positional argument: '_topic'
  1841. (venv) ➜ python_project git:(master) ✗
  1842. (venv) ➜ python_project git:(master) ✗
  1843. (venv) ➜ python_project git:(master) ✗
  1844. (venv) ➜ python_project git:(master) ✗
  1845. (venv) ➜ python_project git:(master) ✗
  1846. (venv) ➜ python_project git:(master) ✗
  1847. (venv) ➜ python_project git:(master) ✗
  1848. (venv) ➜ python_project git:(master) ✗
  1849. (venv) ➜ python_project git:(master) ✗
  1850. (venv) ➜ python_project git:(master) ✗
  1851. (venv) ➜ python_project git:(master) ✗
  1852. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1853. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_records_to_tasks', 'add_stream_tasks', 'close', 'commit', 'commit_all', 'config', 'consumer', 'kafka_supplier', 'log', 'on_assign', 'on_revoke', 'poll_requests', 'process_and_punctuate', 'run', 'set_state', 'set_state_listener', 'set_state_when_not_in_pending_shutdown', 'shutdown', 'start', 'state', 'state_listener', 'still_running', 'tasks', 'thread', 'thread_id', 'topics', 'topology']
  1854. Unexpected state transition from RUNNING to NOT_RUNNING.
  1855. Exception in thread Thread-1:
  1856. Traceback (most recent call last):
  1857. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1858. self.run()
  1859. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1860. self._target(*self._args, **self._kwargs)
  1861. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1862. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1863. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1864.  
  1865. (venv) ➜ python_project git:(master) ✗
  1866. (venv) ➜ python_project git:(master) ✗
  1867. (venv) ➜ python_project git:(master) ✗
  1868. (venv) ➜ python_project git:(master) ✗
  1869. (venv) ➜ python_project git:(master) ✗
  1870. (venv) ➜ python_project git:(master) ✗
  1871. (venv) ➜ python_project git:(master) ✗
  1872. (venv) ➜ python_project git:(master) ✗
  1873. (venv) ➜ python_project git:(master) ✗
  1874. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1875. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  1876. Unexpected state transition from RUNNING to NOT_RUNNING.
  1877. Unexpected state transition from NOT_RUNNING to PENDING_SHUTDOWN.
  1878. Exception in thread Thread-1:
  1879. Traceback (most recent call last):
  1880. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1881. self.run()
  1882. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1883. self._target(*self._args, **self._kwargs)
  1884. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1885. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1886. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1887.  
  1888. (venv) ➜ python_project git:(master) ✗
  1889. (venv) ➜ python_project git:(master) ✗
  1890. (venv) ➜ python_project git:(master) ✗
  1891. (venv) ➜ python_project git:(master) ✗
  1892. (venv) ➜ python_project git:(master) ✗
  1893. (venv) ➜ python_project git:(master) ✗
  1894. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1895. ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']
  1896. Unexpected state transition from RUNNING to NOT_RUNNING.
  1897. Unexpected state transition from NOT_RUNNING to PENDING_SHUTDOWN.
  1898. Exception in thread Thread-1:
  1899. Traceback (most recent call last):
  1900. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1901. self.run()
  1902. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1903. self._target(*self._args, **self._kwargs)
  1904. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1905. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1906. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1907.  
  1908. (venv) ➜ python_project git:(master) ✗
  1909. (venv) ➜ python_project git:(master) ✗
  1910. (venv) ➜ python_project git:(master) ✗
  1911. (venv) ➜ python_project git:(master) ✗
  1912. (venv) ➜ python_project git:(master) ✗
  1913. (venv) ➜ python_project git:(master) ✗
  1914. (venv) ➜ python_project git:(master) ✗
  1915. (venv) ➜ python_project git:(master) ✗
  1916. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1917. ['__annotations__', '__call__', '__class__', '__closure__', '__code__', '__defaults__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__get__', '__getattribute__', '__globals__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__kwdefaults__', '__le__', '__lt__', '__module__', '__name__', '__ne__', '__new__', '__qualname__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  1918. Unexpected state transition from RUNNING to NOT_RUNNING.
  1919. Exception in thread Thread-1:
  1920. Traceback (most recent call last):
  1921. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1922. self.run()
  1923. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1924. self._target(*self._args, **self._kwargs)
  1925. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1926. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1927. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1928.  
  1929. (venv) ➜ python_project git:(master) ✗
  1930. (venv) ➜ python_project git:(master) ✗
  1931. (venv) ➜ python_project git:(master) ✗
  1932. (venv) ➜ python_project git:(master) ✗
  1933. (venv) ➜ python_project git:(master) ✗
  1934. (venv) ➜ python_project git:(master) ✗
  1935. (venv) ➜ python_project git:(master) ✗
  1936. (venv) ➜ python_project git:(master) ✗
  1937. (venv) ➜ python_project git:(master) ✗
  1938. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1939. Traceback (most recent call last):
  1940. File "main.py", line 112, in <module>
  1941. write_stream()
  1942. File "main.py", line 95, in write_stream
  1943. print(wks.stream_threads[0].topology._processors.count())
  1944. TypeError: count() takes exactly one argument (0 given)
  1945. (venv) ➜ python_project git:(master) ✗
  1946. (venv) ➜ python_project git:(master) ✗
  1947. (venv) ➜ python_project git:(master) ✗
  1948. (venv) ➜ python_project git:(master) ✗
  1949. (venv) ➜ python_project git:(master) ✗
  1950. (venv) ➜ python_project git:(master) ✗
  1951. (venv) ➜ python_project git:(master) ✗
  1952. (venv) ➜ python_project git:(master) ✗
  1953. (venv) ➜ python_project git:(master) ✗
  1954. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1955. Traceback (most recent call last):
  1956. File "main.py", line 112, in <module>
  1957. write_stream()
  1958. File "main.py", line 95, in write_stream
  1959. print(wks.stream_threads[0].topology._processors.count())
  1960. TypeError: count() takes exactly one argument (0 given)
  1961. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1962. Traceback (most recent call last):
  1963. File "main.py", line 111, in <module>
  1964. write_stream()
  1965. File "main.py", line 95, in write_stream
  1966. print(dir(wks.stream_threads[0].topology._processors[1]))
  1967. IndexError: list index out of range
  1968. (venv) ➜ python_project git:(master) ✗
  1969. (venv) ➜ python_project git:(master) ✗
  1970. (venv) ➜ python_project git:(master) ✗
  1971. (venv) ➜ python_project git:(master) ✗
  1972. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1973. Traceback (most recent call last):
  1974. File "main.py", line 111, in <module>
  1975. write_stream()
  1976. File "main.py", line 95, in write_stream
  1977. print(dir(wks.stream_threads[0].topology._processors[1]))
  1978. IndexError: list index out of range
  1979. (venv) ➜ python_project git:(master) ✗
  1980. (venv) ➜ python_project git:(master) ✗
  1981. (venv) ➜ python_project git:(master) ✗
  1982. (venv) ➜ python_project git:(master) ✗
  1983. (venv) ➜ python_project git:(master) ✗
  1984. (venv) ➜ python_project git:(master) ✗
  1985. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  1986. ['__annotations__', '__call__', '__class__', '__closure__', '__code__', '__defaults__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__get__', '__getattribute__', '__globals__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__kwdefaults__', '__le__', '__lt__', '__module__', '__name__', '__ne__', '__new__', '__qualname__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  1987. Unexpected state transition from RUNNING to NOT_RUNNING.
  1988. Exception in thread Thread-1:
  1989. Traceback (most recent call last):
  1990. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  1991. self.run()
  1992. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  1993. self._target(*self._args, **self._kwargs)
  1994. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  1995. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  1996. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  1997.  
  1998. (venv) ➜ python_project git:(master) ✗
  1999. (venv) ➜ python_project git:(master) ✗
  2000. (venv) ➜ python_project git:(master) ✗
  2001. (venv) ➜ python_project git:(master) ✗
  2002. (venv) ➜ python_project git:(master) ✗
  2003. (venv) ➜ python_project git:(master) ✗
  2004. (venv) ➜ python_project git:(master) ✗
  2005. (venv) ➜ python_project git:(master) ✗
  2006. (venv) ➜ python_project git:(master) ✗
  2007. (venv) ➜ python_project git:(master) ✗
  2008. (venv) ➜ python_project git:(master) ✗
  2009. (venv) ➜ python_project git:(master) ✗
  2010. (venv) ➜ python_project git:(master) ✗
  2011. (venv) ➜ python_project git:(master) ✗
  2012. (venv) ➜ python_project git:(master) ✗
  2013. (venv) ➜ python_project git:(master) ✗
  2014. (venv) ➜ python_project git:(master) ✗
  2015. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2016. ['__annotations__', '__call__', '__class__', '__closure__', '__code__', '__defaults__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__get__', '__getattribute__', '__globals__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__kwdefaults__', '__le__', '__lt__', '__module__', '__name__', '__ne__', '__new__', '__qualname__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  2017. Unexpected state transition from RUNNING to NOT_RUNNING.
  2018. Traceback (most recent call last):
  2019. File "main.py", line 111, in <module>
  2020. Exception in thread Thread-1:
  2021. Traceback (most recent call last):
  2022. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2023. self.run()
  2024. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2025. self._target(*self._args, **self._kwargs)
  2026. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  2027. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  2028. cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to set subscription: Local: Invalid argument or configuration"}
  2029.  
  2030. write_stream()
  2031. File "main.py", line 97, in write_stream
  2032. wks.topology.processor('python stream key', 'python stream value')
  2033. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 188, in processor
  2034. raise KafkaStreamsError("Processor '%s' must have a minimum of 1 input", name)
  2035. winton_kafka_streams.errors.kafka_streams_error.KafkaStreamsError: ("Processor '%s' must have a minimum of 1 input", 'python stream key')
  2036. (venv) ➜ python_project git:(master) ✗
  2037. (venv) ➜ python_project git:(master) ✗
  2038. (venv) ➜ python_project git:(master) ✗
  2039. (venv) ➜ python_project git:(master) ✗
  2040. (venv) ➜ python_project git:(master) ✗
  2041. (venv) ➜ python_project git:(master) ✗
  2042. (venv) ➜ python_project git:(master) ✗
  2043. (venv) ➜ python_project git:(master) ✗
  2044. (venv) ➜ python_project git:(master) ✗
  2045. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2046. ['__annotations__', '__call__', '__class__', '__closure__', '__code__', '__defaults__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__get__', '__getattribute__', '__globals__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__kwdefaults__', '__le__', '__lt__', '__module__', '__name__', '__ne__', '__new__', '__qualname__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  2047. Traceback (most recent call last):
  2048. File "main.py", line 111, in <module>
  2049. write_stream()
  2050. File "main.py", line 97, in write_stream
  2051. wks.topology.processor('python stream key', 'python stream value')
  2052. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 188, in processor
  2053. raise KafkaStreamsError("Processor '%s' must have a minimum of 1 input", name)
  2054. winton_kafka_streams.errors.kafka_streams_error.KafkaStreamsError: ("Processor '%s' must have a minimum of 1 input", 'python stream key')
  2055.  
  2056. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2057. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2058. Exception in thread Thread-1:
  2059. Traceback (most recent call last):
  2060. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2061. self.run()
  2062. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2063. self._target(*self._args, **self._kwargs)
  2064. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2065. records = self.poll_requests(0.1)
  2066. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2067. record = self.consumer.poll(poll_timeout)
  2068. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2069. self.add_stream_tasks(partitions)
  2070. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2071. in grouped_tasks.items()]
  2072. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2073. for (task_id, partitions)
  2074. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2075. self.topology = _topology_builder.build()
  2076. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  2077. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  2078. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  2079. self.processors = [processor_builder(self) for processor_builder in processors]
  2080. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  2081. self.processors = [processor_builder(self) for processor_builder in processors]
  2082. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  2083. processor_node = ProcessorNode(name, processor_type())
  2084. TypeError: __init__() missing 1 required positional argument: '_topic'
  2085.  
  2086.  
  2087. [1] 54224 segmentation fault python3.6 main.py
  2088.  
  2089. (venv) ➜ python_project git:(master) ✗
  2090. (venv) ➜ python_project git:(master) ✗
  2091. (venv) ➜ python_project git:(master) ✗
  2092. (venv) ➜ python_project git:(master) ✗
  2093. (venv) ➜ python_project git:(master) ✗
  2094. (venv) ➜ python_project git:(master) ✗
  2095. (venv) ➜ python_project git:(master) ✗
  2096. (venv) ➜ python_project git:(master) ✗
  2097. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2098. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'close', 'consumer', 'kafka_config', 'on_thread_state_change', 'set_state', 'start', 'state', 'state_lock', 'stream_threads', 'thread_states', 'topology']
  2099. Traceback (most recent call last):
  2100. File "main.py", line 111, in <module>
  2101. write_stream()
  2102. File "main.py", line 97, in write_stream
  2103. wks.topology.processor('python stream key', 'python stream value')
  2104. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 188, in processor
  2105. raise KafkaStreamsError("Processor '%s' must have a minimum of 1 input", name)
  2106. winton_kafka_streams.errors.kafka_streams_error.KafkaStreamsError: ("Processor '%s' must have a minimum of 1 input", 'python stream key')
  2107. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2108. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2109. Exception in thread Thread-1:
  2110. Traceback (most recent call last):
  2111. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2112. self.run()
  2113. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2114. self._target(*self._args, **self._kwargs)
  2115. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2116. records = self.poll_requests(0.1)
  2117. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2118. record = self.consumer.poll(poll_timeout)
  2119. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2120. self.add_stream_tasks(partitions)
  2121. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2122. in grouped_tasks.items()]
  2123. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2124. for (task_id, partitions)
  2125. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2126. self.topology = _topology_builder.build()
  2127. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  2128. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  2129. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  2130. self.processors = [processor_builder(self) for processor_builder in processors]
  2131. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  2132. self.processors = [processor_builder(self) for processor_builder in processors]
  2133. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  2134. processor_node = ProcessorNode(name, processor_type())
  2135. TypeError: __init__() missing 1 required positional argument: '_topic'
  2136.  
  2137. [1] 54326 segmentation fault python3.6 main.py
  2138. (venv) ➜ python_project git:(master) ✗
  2139. (venv) ➜ python_project git:(master) ✗
  2140. (venv) ➜ python_project git:(master) ✗
  2141. (venv) ➜ python_project git:(master) ✗
  2142. (venv) ➜ python_project git:(master) ✗
  2143. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2144. File "main.py", line 95
  2145. print(dir(wks.stream_threads[0]]))
  2146. ^
  2147. SyntaxError: invalid syntax
  2148. (venv) ➜ python_project git:(master) ✗
  2149. (venv) ➜ python_project git:(master) ✗
  2150. (venv) ➜ python_project git:(master) ✗
  2151. (venv) ➜ python_project git:(master) ✗
  2152. (venv) ➜ python_project git:(master) ✗
  2153. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2154. File "main.py", line 95
  2155. print(dir(wks.stream_threads[0]]))
  2156. ^
  2157. SyntaxError: invalid syntax
  2158. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2159. ['State', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_records_to_tasks', 'add_stream_tasks', 'close', 'commit', 'commit_all', 'config', 'consumer', 'kafka_supplier', 'log', 'on_assign', 'on_revoke', 'poll_requests', 'process_and_punctuate', 'run', 'set_state', 'set_state_listener', 'set_state_when_not_in_pending_shutdown', 'shutdown', 'start', 'state', 'state_listener', 'still_running', 'tasks', 'thread', 'thread_id', 'topics', 'topology']
  2160. Traceback (most recent call last):
  2161. File "main.py", line 111, in <module>
  2162. write_stream()
  2163. File "main.py", line 97, in write_stream
  2164. wks.topology.processor('python stream key', 'python stream value')
  2165. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 188, in processor
  2166. raise KafkaStreamsError("Processor '%s' must have a minimum of 1 input", name)
  2167. winton_kafka_streams.errors.kafka_streams_error.KafkaStreamsError: ("Processor '%s' must have a minimum of 1 input", 'python stream key')
  2168. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2169. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2170. Exception in thread Thread-1:
  2171. Traceback (most recent call last):
  2172. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2173. self.run()
  2174. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2175. self._target(*self._args, **self._kwargs)
  2176. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2177. records = self.poll_requests(0.1)
  2178. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2179. record = self.consumer.poll(poll_timeout)
  2180. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2181. self.add_stream_tasks(partitions)
  2182. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2183. in grouped_tasks.items()]
  2184. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2185. for (task_id, partitions)
  2186. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2187. self.topology = _topology_builder.build()
  2188. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  2189. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  2190. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  2191. self.processors = [processor_builder(self) for processor_builder in processors]
  2192. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  2193. self.processors = [processor_builder(self) for processor_builder in processors]
  2194. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  2195. processor_node = ProcessorNode(name, processor_type())
  2196. TypeError: __init__() missing 1 required positional argument: '_topic'
  2197.  
  2198. [1] 54460 segmentation fault python3.6 main.py
  2199. (venv) ➜ python_project git:(master) ✗
  2200. (venv) ➜ python_project git:(master) ✗
  2201. (venv) ➜ python_project git:(master) ✗
  2202. (venv) ➜ python_project git:(master) ✗
  2203. (venv) ➜ python_project git:(master) ✗
  2204. (venv) ➜ python_project git:(master) ✗
  2205. (venv) ➜ python_project git:(master) ✗
  2206. (venv) ➜ python_project git:(master) ✗
  2207. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2208. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2209. Traceback (most recent call last):
  2210. File "main.py", line 111, in <module>
  2211. write_stream()
  2212. File "main.py", line 97, in write_stream
  2213. wks.topology.processor('python stream key', 'python stream value')
  2214. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 188, in processor
  2215. raise KafkaStreamsError("Processor '%s' must have a minimum of 1 input", name)
  2216. winton_kafka_streams.errors.kafka_streams_error.KafkaStreamsError: ("Processor '%s' must have a minimum of 1 input", 'python stream key')
  2217. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2218. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2219. Exception in thread Thread-1:
  2220. Traceback (most recent call last):
  2221. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2222. self.run()
  2223. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2224. self._target(*self._args, **self._kwargs)
  2225. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2226. records = self.poll_requests(0.1)
  2227. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2228. record = self.consumer.poll(poll_timeout)
  2229. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2230. self.add_stream_tasks(partitions)
  2231. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2232. in grouped_tasks.items()]
  2233. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2234. for (task_id, partitions)
  2235. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2236. self.topology = _topology_builder.build()
  2237. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  2238. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  2239. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  2240. self.processors = [processor_builder(self) for processor_builder in processors]
  2241. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  2242. self.processors = [processor_builder(self) for processor_builder in processors]
  2243. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  2244. processor_node = ProcessorNode(name, processor_type())
  2245. TypeError: __init__() missing 1 required positional argument: '_topic'
  2246.  
  2247. [1] 54558 segmentation fault python3.6 main.py
  2248. (venv) ➜ python_project git:(master) ✗
  2249. (venv) ➜ python_project git:(master) ✗
  2250. (venv) ➜ python_project git:(master) ✗
  2251. (venv) ➜ python_project git:(master) ✗
  2252. (venv) ➜ python_project git:(master) ✗
  2253. (venv) ➜ python_project git:(master) ✗
  2254. (venv) ➜ python_project git:(master) ✗
  2255. (venv) ➜ python_project git:(master) ✗
  2256. (venv) ➜ python_project git:(master) ✗
  2257. (venv) ➜ python_project git:(master) ✗
  2258. (venv) ➜ python_project git:(master) ✗
  2259. (venv) ➜ python_project git:(master) ✗
  2260. (venv) ➜ python_project git:(master) ✗
  2261. (venv) ➜ python_project git:(master) ✗
  2262. (venv) ➜ python_project git:(master) ✗
  2263. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2264. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2265. (venv) ➜ python_project git:(master) ✗
  2266. (venv) ➜ python_project git:(master) ✗
  2267. (venv) ➜ python_project git:(master) ✗
  2268. (venv) ➜ python_project git:(master) ✗
  2269. (venv) ➜ python_project git:(master) ✗
  2270. (venv) ➜ python_project git:(master) ✗
  2271. (venv) ➜ python_project git:(master) ✗
  2272. (venv) ➜ python_project git:(master) ✗
  2273. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2274. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2275. (venv) ➜ python_project git:(master) ✗
  2276. (venv) ➜ python_project git:(master) ✗
  2277. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2278. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2279. (venv) ➜ python_project git:(master) ✗
  2280. (venv) ➜ python_project git:(master) ✗
  2281. (venv) ➜ python_project git:(master) ✗
  2282. (venv) ➜ python_project git:(master) ✗
  2283. (venv) ➜ python_project git:(master) ✗
  2284. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2285. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2286. (venv) ➜ python_project git:(master) ✗
  2287. (venv) ➜ python_project git:(master) ✗
  2288. (venv) ➜ python_project git:(master) ✗
  2289. (venv) ➜ python_project git:(master) ✗
  2290. (venv) ➜ python_project git:(master) ✗
  2291. (venv) ➜ python_project git:(master) ✗
  2292. (venv) ➜ python_project git:(master) ✗
  2293. (venv) ➜ python_project git:(master) ✗
  2294. (venv) ➜ python_project git:(master) ✗
  2295. (venv) ➜ python_project git:(master) ✗
  2296. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2297. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2298. (venv) ➜ python_project git:(master) ✗
  2299. (venv) ➜ python_project git:(master) ✗
  2300. (venv) ➜ python_project git:(master) ✗
  2301. (venv) ➜ python_project git:(master) ✗
  2302. (venv) ➜ python_project git:(master) ✗
  2303. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2304. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2305. Traceback (most recent call last):
  2306. File "main.py", line 113, in <module>
  2307. write_stream()
  2308. File "main.py", line 98, in write_stream
  2309. wks.topology.process('python stream key', 'python stream value')
  2310. AttributeError: 'TopologyBuilder' object has no attribute 'process'
  2311. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2312. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2313. Exception in thread Thread-1:
  2314. Traceback (most recent call last):
  2315. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2316. self.run()
  2317. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2318. self._target(*self._args, **self._kwargs)
  2319. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2320. records = self.poll_requests(0.1)
  2321. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2322. record = self.consumer.poll(poll_timeout)
  2323. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2324. self.add_stream_tasks(partitions)
  2325. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2326. in grouped_tasks.items()]
  2327. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2328. for (task_id, partitions)
  2329. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2330. self.topology = _topology_builder.build()
  2331. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  2332. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  2333. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  2334. self.processors = [processor_builder(self) for processor_builder in processors]
  2335. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  2336. self.processors = [processor_builder(self) for processor_builder in processors]
  2337. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  2338. processor_node = ProcessorNode(name, processor_type())
  2339. TypeError: __init__() missing 1 required positional argument: '_topic'
  2340.  
  2341. [1] 55127 segmentation fault python3.6 main.py
  2342. (venv) ➜ python_project git:(master) ✗ \\\\\\\
  2343. >
  2344. zsh: command not found: \\\
  2345. (venv) ➜ python_project git:(master) ✗
  2346. (venv) ➜ python_project git:(master) ✗
  2347. (venv) ➜ python_project git:(master) ✗
  2348. (venv) ➜ python_project git:(master) ✗
  2349. (venv) ➜ python_project git:(master) ✗
  2350. (venv) ➜ python_project git:(master) ✗
  2351. (venv) ➜ python_project git:(master) ✗
  2352. (venv) ➜ python_project git:(master) ✗
  2353. (venv) ➜ python_project git:(master) ✗
  2354. (venv) ➜ python_project git:(master) ✗ \\\\\\\
  2355.  
  2356. zsh: command not found: \\\
  2357. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2358. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2359. Traceback (most recent call last):
  2360. File "main.py", line 113, in <module>
  2361. write_stream()
  2362. File "main.py", line 98, in write_stream
  2363. wks.topology.processor('python stream key', 'python stream value')
  2364. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 188, in processor
  2365. raise KafkaStreamsError("Processor '%s' must have a minimum of 1 input", name)
  2366. winton_kafka_streams.errors.kafka_streams_error.KafkaStreamsError: ("Processor '%s' must have a minimum of 1 input", 'python stream key')
  2367. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2368. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2369. Exception in thread Thread-1:
  2370. Traceback (most recent call last):
  2371. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2372. self.run()
  2373. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2374. self._target(*self._args, **self._kwargs)
  2375. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2376. records = self.poll_requests(0.1)
  2377. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2378. record = self.consumer.poll(poll_timeout)
  2379. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2380. self.add_stream_tasks(partitions)
  2381. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2382. in grouped_tasks.items()]
  2383. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2384. for (task_id, partitions)
  2385. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2386. self.topology = _topology_builder.build()
  2387. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  2388. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  2389. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  2390. self.processors = [processor_builder(self) for processor_builder in processors]
  2391. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  2392. self.processors = [processor_builder(self) for processor_builder in processors]
  2393. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  2394. processor_node = ProcessorNode(name, processor_type())
  2395. TypeError: __init__() missing 1 required positional argument: '_topic'
  2396.  
  2397. [1] 55248 segmentation fault python3.6 main.py
  2398. (venv) ➜ python_project git:(master) ✗
  2399. (venv) ➜ python_project git:(master) ✗
  2400. (venv) ➜ python_project git:(master) ✗
  2401. (venv) ➜ python_project git:(master) ✗
  2402. (venv) ➜ python_project git:(master) ✗
  2403. (venv) ➜ python_project git:(master) ✗
  2404. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2405. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2406. (venv) ➜ python_project git:(master) ✗
  2407. (venv) ➜ python_project git:(master) ✗
  2408. (venv) ➜ python_project git:(master) ✗
  2409. (venv) ➜ python_project git:(master) ✗
  2410. (venv) ➜ python_project git:(master) ✗
  2411. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2412. (venv) ➜ python_project git:(master) ✗
  2413. (venv) ➜ python_project git:(master) ✗
  2414. (venv) ➜ python_project git:(master) ✗
  2415. (venv) ➜ python_project git:(master) ✗
  2416. (venv) ➜ python_project git:(master) ✗
  2417. (venv) ➜ python_project git:(master) ✗
  2418. (venv) ➜ python_project git:(master) ✗
  2419. (venv) ➜ python_project git:(master) ✗
  2420. (venv) ➜ python_project git:(master) ✗
  2421. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2422. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2423. (venv) ➜ python_project git:(master) ✗
  2424. (venv) ➜ python_project git:(master) ✗
  2425. (venv) ➜ python_project git:(master) ✗
  2426. (venv) ➜ python_project git:(master) ✗
  2427. (venv) ➜ python_project git:(master) ✗
  2428. (venv) ➜ python_project git:(master) ✗
  2429. (venv) ➜ python_project git:(master) ✗
  2430. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2431. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2432. (venv) ➜ python_project git:(master) ✗
  2433. (venv) ➜ python_project git:(master) ✗
  2434. (venv) ➜ python_project git:(master) ✗
  2435. (venv) ➜ python_project git:(master) ✗
  2436. (venv) ➜ python_project git:(master) ✗
  2437. (venv) ➜ python_project git:(master) ✗
  2438. (venv) ➜ python_project git:(master) ✗
  2439. (venv) ➜ python_project git:(master) ✗
  2440. (venv) ➜ python_project git:(master) ✗
  2441. (venv) ➜ python_project git:(master) ✗
  2442. (venv) ➜ python_project git:(master) ✗
  2443. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2444. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_processors', '_sinks', '_sources', '_state_stores', 'build', 'processor', 'sink', 'sinks', 'source', 'sources', 'state_store', 'state_stores', 'topics']
  2445. Traceback (most recent call last):
  2446. File "main.py", line 113, in <module>
  2447. write_stream()
  2448. File "main.py", line 98, in write_stream
  2449. wks.topology.processor.process('mytopic', 'python stream key', 'python stream value')
  2450. AttributeError: 'function' object has no attribute 'process'
  2451. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2452. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2453. Exception in thread Thread-1:
  2454. Traceback (most recent call last):
  2455. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2456. self.run()
  2457. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2458. self._target(*self._args, **self._kwargs)
  2459. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2460. records = self.poll_requests(0.1)
  2461. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2462. record = self.consumer.poll(poll_timeout)
  2463. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2464. self.add_stream_tasks(partitions)
  2465. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2466. in grouped_tasks.items()]
  2467. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2468. for (task_id, partitions)
  2469. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2470. self.topology = _topology_builder.build()
  2471. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  2472. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  2473. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  2474. self.processors = [processor_builder(self) for processor_builder in processors]
  2475. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  2476. self.processors = [processor_builder(self) for processor_builder in processors]
  2477. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  2478. processor_node = ProcessorNode(name, processor_type())
  2479. TypeError: __init__() missing 1 required positional argument: '_topic'
  2480.  
  2481. [1] 55745 segmentation fault python3.6 main.py
  2482. (venv) ➜ python_project git:(master) ✗
  2483. (venv) ➜ python_project git:(master) ✗
  2484. (venv) ➜ python_project git:(master) ✗
  2485. (venv) ➜ python_project git:(master) ✗
  2486. (venv) ➜ python_project git:(master) ✗
  2487. (venv) ➜ python_project git:(master) ✗
  2488. (venv) ➜ python_project git:(master) ✗
  2489. (venv) ➜ python_project git:(master) ✗
  2490. (venv) ➜ python_project git:(master) ✗
  2491. (venv) ➜ python_project git:(master) ✗
  2492. (venv) ➜ python_project git:(master) ✗
  2493. (venv) ➜ python_project git:(master) ✗
  2494. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2495. ['__call__', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__func__', '__ge__', '__get__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  2496. Traceback (most recent call last):
  2497. File "main.py", line 113, in <module>
  2498. write_stream()
  2499. File "main.py", line 98, in write_stream
  2500. wks.topology.processor.process('mytopic', 'python stream key', 'python stream value')
  2501. AttributeError: 'function' object has no attribute 'process'
  2502. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2503. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2504. Exception in thread Thread-1:
  2505. Traceback (most recent call last):
  2506. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2507. self.run()
  2508. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2509. self._target(*self._args, **self._kwargs)
  2510. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2511. records = self.poll_requests(0.1)
  2512. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2513. record = self.consumer.poll(poll_timeout)
  2514. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2515. self.add_stream_tasks(partitions)
  2516. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2517. in grouped_tasks.items()]
  2518. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2519. for (task_id, partitions)
  2520. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2521. self.topology = _topology_builder.build()
  2522. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  2523. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  2524. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  2525. self.processors = [processor_builder(self) for processor_builder in processors]
  2526. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  2527. self.processors = [processor_builder(self) for processor_builder in processors]
  2528. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  2529. processor_node = ProcessorNode(name, processor_type())
  2530. TypeError: __init__() missing 1 required positional argument: '_topic'
  2531.  
  2532. [1] 55874 segmentation fault python3.6 main.py
  2533. (venv) ➜ python_project git:(master) ✗
  2534. (venv) ➜ python_project git:(master) ✗
  2535. (venv) ➜ python_project git:(master) ✗
  2536. (venv) ➜ python_project git:(master) ✗
  2537. (venv) ➜ python_project git:(master) ✗
  2538. (venv) ➜ python_project git:(master) ✗
  2539. (venv) ➜ python_project git:(master) ✗
  2540. (venv) ➜ python_project git:(master) ✗
  2541. (venv) ➜ python_project git:(master) ✗
  2542. (venv) ➜ python_project git:(master) ✗
  2543. (venv) ➜ python_project git:(master) ✗
  2544. (venv) ➜ python_project git:(master) ✗
  2545. (venv) ➜ python_project git:(master) ✗
  2546. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2547. ['__annotations__', '__call__', '__class__', '__closure__', '__code__', '__defaults__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__get__', '__getattribute__', '__globals__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__kwdefaults__', '__le__', '__lt__', '__module__', '__name__', '__ne__', '__new__', '__qualname__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
  2548. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2549. ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']
  2550. (venv) ➜ python_project git:(master) ✗
  2551. (venv) ➜ python_project git:(master) ✗
  2552. (venv) ➜ python_project git:(master) ✗
  2553. (venv) ➜ python_project git:(master) ✗
  2554. (venv) ➜ python_project git:(master) ✗
  2555. (venv) ➜ python_project git:(master) ✗
  2556. (venv) ➜ python_project git:(master) ✗
  2557. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2558. Traceback (most recent call last):
  2559. File "main.py", line 113, in <module>
  2560. write_stream()
  2561. File "main.py", line 95, in write_stream
  2562. print(dir(wks.topology.nodes))
  2563. AttributeError: 'TopologyBuilder' object has no attribute 'nodes'
  2564. (venv) ➜ python_project git:(master) ✗
  2565. (venv) ➜ python_project git:(master) ✗
  2566. (venv) ➜ python_project git:(master) ✗
  2567. (venv) ➜ python_project git:(master) ✗
  2568. (venv) ➜ python_project git:(master) ✗
  2569. (venv) ➜ python_project git:(master) ✗
  2570. (venv) ➜ python_project git:(master) ✗
  2571. (venv) ➜ python_project git:(master) ✗
  2572. (venv) ➜ python_project git:(master) ✗
  2573. (venv) ➜ python_project git:(master) ✗
  2574. (venv) ➜ python_project git:(master) ✗
  2575. (venv) ➜ python_project git:(master) ✗
  2576. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2577. Traceback (most recent call last):
  2578. File "main.py", line 115, in <module>
  2579. write_stream()
  2580. File "main.py", line 94, in write_stream
  2581. topology = topology_builder.build()
  2582. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  2583. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  2584. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  2585. self.processors = [processor_builder(self) for processor_builder in processors]
  2586. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  2587. self.processors = [processor_builder(self) for processor_builder in processors]
  2588. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 192, in build_processor
  2589. processor_node = ProcessorNode(name, processor_type())
  2590. TypeError: __init__() missing 1 required positional argument: '_topic'
  2591. (venv) ➜ python_project git:(master) ✗
  2592. (venv) ➜ python_project git:(master) ✗
  2593. (venv) ➜ python_project git:(master) ✗
  2594. (venv) ➜ python_project git:(master) ✗
  2595. (venv) ➜ python_project git:(master) ✗
  2596. (venv) ➜ python_project git:(master) ✗
  2597. (venv) ➜ python_project git:(master) ✗
  2598. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2599. Traceback (most recent call last):
  2600. File "main.py", line 115, in <module>
  2601. write_stream()
  2602. File "main.py", line 94, in write_stream
  2603. topology = topology_builder.build()
  2604. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 209, in build
  2605. return Topology(self._sources, self._processors, self._sinks, self._state_stores)
  2606. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in __init__
  2607. self.processors = [processor_builder(self) for processor_builder in processors]
  2608. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 49, in <listcomp>
  2609. self.processors = [processor_builder(self) for processor_builder in processors]
  2610. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 193, in build_processor
  2611. topology._add_node(name, processor_node, parents)
  2612. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 63, in _add_node
  2613. node_inputs = list(self.nodes[i] for i in inputs)
  2614. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 63, in <genexpr>
  2615. node_inputs = list(self.nodes[i] for i in inputs)
  2616. KeyError: 'output-value'
  2617. (venv) ➜ python_project git:(master) ✗
  2618. (venv) ➜ python_project git:(master) ✗
  2619. (venv) ➜ python_project git:(master) ✗
  2620. (venv) ➜ python_project git:(master) ✗
  2621. (venv) ➜ python_project git:(master) ✗
  2622. (venv) ➜ python_project git:(master) ✗
  2623. (venv) ➜ python_project git:(master) ✗
  2624. (venv) ➜ python_project git:(master) ✗
  2625. (venv) ➜ python_project git:(master) ✗
  2626. (venv) ➜ python_project git:(master) ✗
  2627. (venv) ➜ python_project git:(master) ✗
  2628. (venv) ➜ python_project git:(master) ✗
  2629. (venv) ➜ python_project git:(master) ✗
  2630. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2631. Traceback (most recent call last):
  2632. File "main.py", line 115, in <module>
  2633. write_stream()
  2634. File "main.py", line 91, in write_stream
  2635. topology_builder.processor('write', BaseProcessor)
  2636. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 188, in processor
  2637. raise KafkaStreamsError("Processor '%s' must have a minimum of 1 input", name)
  2638. winton_kafka_streams.errors.kafka_streams_error.KafkaStreamsError: ("Processor '%s' must have a minimum of 1 input", 'write')
  2639. (venv) ➜ python_project git:(master) ✗
  2640. (venv) ➜ python_project git:(master) ✗
  2641. (venv) ➜ python_project git:(master) ✗
  2642. (venv) ➜ python_project git:(master) ✗
  2643. (venv) ➜ python_project git:(master) ✗
  2644. (venv) ➜ python_project git:(master) ✗
  2645. (venv) ➜ python_project git:(master) ✗
  2646. (venv) ➜ python_project git:(master) ✗
  2647. (venv) ➜ python_project git:(master) ✗
  2648. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2649. Traceback (most recent call last):
  2650. File "main.py", line 115, in <module>
  2651. write_stream()
  2652. File "main.py", line 96, in write_stream
  2653. wks = kafka_streams.KafkaStreams(topology, kafka_config)
  2654. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/kafka_streams.py", line 95, in __init__
  2655. for i in range(int(self.kafka_config.NUM_STREAM_THREADS))]
  2656. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/kafka_streams.py", line 95, in <listcomp>
  2657. for i in range(int(self.kafka_config.NUM_STREAM_THREADS))]
  2658. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 89, in __init__
  2659. self.topics = _topology.topics
  2660. AttributeError: 'Topology' object has no attribute 'topics'
  2661. (venv) ➜ python_project git:(master) ✗
  2662. (venv) ➜ python_project git:(master) ✗
  2663. (venv) ➜ python_project git:(master) ✗
  2664. (venv) ➜ python_project git:(master) ✗
  2665. (venv) ➜ python_project git:(master) ✗
  2666. (venv) ➜ python_project git:(master) ✗
  2667. (venv) ➜ python_project git:(master) ✗
  2668. (venv) ➜ python_project git:(master) ✗
  2669. (venv) ➜ python_project git:(master) ✗
  2670. (venv) ➜ python_project git:(master) ✗
  2671. (venv) ➜ python_project git:(master) ✗
  2672. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2673. ['__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'clear', 'copy', 'fromkeys', 'get', 'items', 'keys', 'pop', 'popitem', 'setdefault', 'update', 'values']
  2674. Unexpected state transition from RUNNING to NOT_RUNNING.
  2675. Traceback (most recent call last):
  2676. Exception in thread Thread-1:
  2677. Traceback (most recent call last):
  2678. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2679. self.run()
  2680. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2681. self._target(*self._args, **self._kwargs)
  2682. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  2683. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  2684. TypeError: expected list of topic unicode strings
  2685.  
  2686. File "main.py", line 116, in <module>
  2687. write_stream()
  2688. File "main.py", line 101, in write_stream
  2689. wks.topology.processor('mytopic', 'python stream key', 'python stream value')
  2690. AttributeError: 'Topology' object has no attribute 'processor'
  2691. (venv) ➜ python_project git:(master) ✗
  2692. (venv) ➜ python_project git:(master) ✗
  2693. (venv) ➜ python_project git:(master) ✗
  2694. (venv) ➜ python_project git:(master) ✗
  2695. (venv) ➜ python_project git:(master) ✗
  2696. (venv) ➜ python_project git:(master) ✗
  2697. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2698. Traceback (most recent call last):
  2699. File "main.py", line 116, in <module>
  2700. write_stream()
  2701. File "main.py", line 98, in write_stream
  2702. print(dir(wks.topology.nodes[0]))
  2703. KeyError: 0
  2704. (venv) ➜ python_project git:(master) ✗
  2705. (venv) ➜ python_project git:(master) ✗
  2706. (venv) ➜ python_project git:(master) ✗
  2707. (venv) ➜ python_project git:(master) ✗
  2708. (venv) ➜ python_project git:(master) ✗
  2709. (venv) ➜ python_project git:(master) ✗
  2710. (venv) ➜ python_project git:(master) ✗
  2711. (venv) ➜ python_project git:(master) ✗
  2712. (venv) ➜ python_project git:(master) ✗
  2713. (venv) ➜ python_project git:(master) ✗
  2714. (venv) ➜ python_project git:(master) ✗
  2715. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2716. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  2717. Unexpected state transition from RUNNING to NOT_RUNNING.
  2718. Traceback (most recent call last):
  2719. File "main.py", line 116, in <module>
  2720. write_stream()
  2721. File "main.py", line 101, in write_stream
  2722. wks.topology.processor('mytopic', 'python stream key', 'python stream value')
  2723. AttributeError: 'Topology' object has no attribute 'processor'
  2724. Exception in thread Thread-1:
  2725. Traceback (most recent call last):
  2726. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2727. self.run()
  2728. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2729. self._target(*self._args, **self._kwargs)
  2730. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  2731. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  2732. TypeError: expected list of topic unicode strings
  2733.  
  2734. (venv) ➜ python_project git:(master) ✗
  2735. (venv) ➜ python_project git:(master) ✗
  2736. (venv) ➜ python_project git:(master) ✗
  2737. (venv) ➜ python_project git:(master) ✗
  2738. (venv) ➜ python_project git:(master) ✗
  2739. (venv) ➜ python_project git:(master) ✗
  2740. (venv) ➜ python_project git:(master) ✗
  2741. (venv) ➜ python_project git:(master) ✗
  2742. (venv) ➜ python_project git:(master) ✗
  2743. (venv) ➜ python_project git:(master) ✗
  2744. (venv) ➜ python_project git:(master) ✗
  2745. (venv) ➜ python_project git:(master) ✗
  2746. (venv) ➜ python_project git:(master) ✗
  2747. (venv) ➜ python_project git:(master) ✗
  2748. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2749. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  2750. Unexpected state transition from RUNNING to NOT_RUNNING.
  2751. Exception in thread Thread-1:
  2752. Traceback (most recent call last):
  2753. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2754. self.run()
  2755. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2756. self._target(*self._args, **self._kwargs)
  2757. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  2758. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  2759. TypeError: expected list of topic unicode strings
  2760.  
  2761. Traceback (most recent call last):
  2762. File "main.py", line 116, in <module>
  2763. write_stream()
  2764. File "main.py", line 101, in write_stream
  2765. wks.topology.processor('mytopic', 'python stream key', 'python stream value')
  2766. AttributeError: 'Topology' object has no attribute 'processor'
  2767. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2768. Traceback (most recent call last):
  2769. File "main.py", line 116, in <module>
  2770. write_stream()
  2771. File "main.py", line 98, in write_stream
  2772. print(dir(wks.topology.processors.processors))
  2773. AttributeError: 'list' object has no attribute 'processors'
  2774. (venv) ➜ python_project git:(master) ✗
  2775. (venv) ➜ python_project git:(master) ✗
  2776. (venv) ➜ python_project git:(master) ✗
  2777. (venv) ➜ python_project git:(master) ✗
  2778. (venv) ➜ python_project git:(master) ✗
  2779. (venv) ➜ python_project git:(master) ✗
  2780. (venv) ➜ python_project git:(master) ✗
  2781. (venv) ➜ python_project git:(master) ✗
  2782. (venv) ➜ python_project git:(master) ✗
  2783. (venv) ➜ python_project git:(master) ✗
  2784. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2785. ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']
  2786. Unexpected state transition from RUNNING to NOT_RUNNING.
  2787. Traceback (most recent call last):
  2788. File "main.py", line 116, in <module>
  2789. write_stream()
  2790. File "main.py", line 101, in write_stream
  2791. wks.topology.processor('mytopic', 'python stream key', 'python stream value')
  2792. AttributeError: 'Topology' object has no attribute 'processor'
  2793. Exception in thread Thread-1:
  2794. Traceback (most recent call last):
  2795. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2796. self.run()
  2797. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2798. self._target(*self._args, **self._kwargs)
  2799. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 130, in run
  2800. self.consumer.subscribe(self.topics, on_assign=self.on_assign, on_revoke=self.on_revoke)
  2801. TypeError: expected list of topic unicode strings
  2802.  
  2803. (venv) ➜ python_project git:(master) ✗
  2804. (venv) ➜ python_project git:(master) ✗
  2805. (venv) ➜ python_project git:(master) ✗
  2806. (venv) ➜ python_project git:(master) ✗
  2807. (venv) ➜ python_project git:(master) ✗
  2808. (venv) ➜ python_project git:(master) ✗
  2809. (venv) ➜ python_project git:(master) ✗
  2810. (venv) ➜ python_project git:(master) ✗
  2811. (venv) ➜ python_project git:(master) ✗
  2812. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2813. ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']
  2814. Traceback (most recent call last):
  2815. File "main.py", line 116, in <module>
  2816. write_stream()
  2817. File "main.py", line 101, in write_stream
  2818. wks.topology.processor('mytopic', 'python stream key', 'python stream value')
  2819. AttributeError: 'Topology' object has no attribute 'processor'
  2820. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2821. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2822. Exception in thread Thread-1:
  2823. Traceback (most recent call last):
  2824. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2825. self.run()
  2826. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2827. self._target(*self._args, **self._kwargs)
  2828. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2829. records = self.poll_requests(0.1)
  2830. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2831. record = self.consumer.poll(poll_timeout)
  2832. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2833. self.add_stream_tasks(partitions)
  2834. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2835. in grouped_tasks.items()]
  2836. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2837. for (task_id, partitions)
  2838. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2839. self.topology = _topology_builder.build()
  2840. AttributeError: 'Topology' object has no attribute 'build'
  2841.  
  2842. [1] 57388 segmentation fault python3.6 main.py
  2843. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2844. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  2845. Traceback (most recent call last):
  2846. File "main.py", line 116, in <module>
  2847. write_stream()
  2848. File "main.py", line 101, in write_stream
  2849. wks.topology.processor('mytopic', 'python stream key', 'python stream value')
  2850. AttributeError: 'Topology' object has no attribute 'processor'
  2851. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2852. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2853. Exception in thread Thread-1:
  2854. Traceback (most recent call last):
  2855. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2856. self.run()
  2857. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2858. self._target(*self._args, **self._kwargs)
  2859. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2860. records = self.poll_requests(0.1)
  2861. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2862. record = self.consumer.poll(poll_timeout)
  2863. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2864. self.add_stream_tasks(partitions)
  2865. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2866. in grouped_tasks.items()]
  2867. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2868. for (task_id, partitions)
  2869. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2870. self.topology = _topology_builder.build()
  2871. AttributeError: 'Topology' object has no attribute 'build'
  2872.  
  2873. [1] 57406 segmentation fault python3.6 main.py
  2874. (venv) ➜ python_project git:(master) ✗
  2875. (venv) ➜ python_project git:(master) ✗
  2876. (venv) ➜ python_project git:(master) ✗
  2877. (venv) ➜ python_project git:(master) ✗
  2878. (venv) ➜ python_project git:(master) ✗
  2879. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2880. ['__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'clear', 'copy', 'fromkeys', 'get', 'items', 'keys', 'pop', 'popitem', 'setdefault', 'update', 'values']
  2881. Traceback (most recent call last):
  2882. File "main.py", line 116, in <module>
  2883. write_stream()
  2884. File "main.py", line 101, in write_stream
  2885. wks.topology.processor('mytopic', 'python stream key', 'python stream value')
  2886. AttributeError: 'Topology' object has no attribute 'processor'
  2887. ^CException ignored in: <module 'threading' from '/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py'>
  2888. Traceback (most recent call last):
  2889. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1294, in _shutdown
  2890. t.join()
  2891. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1056, in join
  2892. self._wait_for_tstate_lock()
  2893. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1072, in _wait_for_tstate_lock
  2894. elif lock.acquire(block, timeout):
  2895. KeyboardInterrupt
  2896. (venv) ➜ python_project git:(master) ✗
  2897. (venv) ➜ python_project git:(master) ✗
  2898. (venv) ➜ python_project git:(master) ✗
  2899. (venv) ➜ python_project git:(master) ✗
  2900. (venv) ➜ python_project git:(master) ✗
  2901. (venv) ➜ python_project git:(master) ✗
  2902. (venv) ➜ python_project git:(master) ✗
  2903. (venv) ➜ python_project git:(master) ✗
  2904. (venv) ➜ python_project git:(master) ✗
  2905. (venv) ➜ python_project git:(master) ✗
  2906. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2907. ['__and__', '__class__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__or__', '__rand__', '__reduce__', '__reduce_ex__', '__repr__', '__ror__', '__rsub__', '__rxor__', '__setattr__', '__sizeof__', '__str__', '__sub__', '__subclasshook__', '__xor__', 'isdisjoint']
  2908. Traceback (most recent call last):
  2909. File "main.py", line 116, in <module>
  2910. write_stream()
  2911. File "main.py", line 101, in write_stream
  2912. wks.topology.processor('mytopic', 'python stream key', 'python stream value')
  2913. AttributeError: 'Topology' object has no attribute 'processor'
  2914. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2915. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2916. Exception in thread Thread-1:
  2917. Traceback (most recent call last):
  2918. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2919. self.run()
  2920. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2921. self._target(*self._args, **self._kwargs)
  2922. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2923. records = self.poll_requests(0.1)
  2924. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2925. record = self.consumer.poll(poll_timeout)
  2926. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2927. self.add_stream_tasks(partitions)
  2928. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2929. in grouped_tasks.items()]
  2930. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2931. for (task_id, partitions)
  2932. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2933. self.topology = _topology_builder.build()
  2934. AttributeError: 'Topology' object has no attribute 'build'
  2935.  
  2936. [1] 57575 segmentation fault python3.6 main.py
  2937. (venv) ➜ python_project git:(master) ✗
  2938. (venv) ➜ python_project git:(master) ✗
  2939. (venv) ➜ python_project git:(master) ✗
  2940. (venv) ➜ python_project git:(master) ✗
  2941. (venv) ➜ python_project git:(master) ✗
  2942. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2943. File "main.py", line 99
  2944. wks.start()
  2945. ^
  2946. SyntaxError: invalid syntax
  2947. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2948. Traceback (most recent call last):
  2949. File "main.py", line 116, in <module>
  2950. write_stream()
  2951. File "main.py", line 98, in write_stream
  2952. print(dir(wks.topology.nodes['isdisjoint']))
  2953. KeyError: 'isdisjoint'
  2954. (venv) ➜ python_project git:(master) ✗
  2955. (venv) ➜ python_project git:(master) ✗
  2956. (venv) ➜ python_project git:(master) ✗
  2957. (venv) ➜ python_project git:(master) ✗
  2958. (venv) ➜ python_project git:(master) ✗
  2959. (venv) ➜ python_project git:(master) ✗
  2960. (venv) ➜ python_project git:(master) ✗
  2961. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  2962. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'children', 'initialise', 'name', 'process', 'processor', 'punctuate', 'state_stores']
  2963. Traceback (most recent call last):
  2964. File "main.py", line 116, in <module>
  2965. write_stream()
  2966. File "main.py", line 101, in write_stream
  2967. wks.topology.processor('mytopic', 'python stream key', 'python stream value')
  2968. AttributeError: 'Topology' object has no attribute 'processor'
  2969. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  2970. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  2971. Exception in thread Thread-1:
  2972. Traceback (most recent call last):
  2973. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  2974. self.run()
  2975. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  2976. self._target(*self._args, **self._kwargs)
  2977. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  2978. records = self.poll_requests(0.1)
  2979. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  2980. record = self.consumer.poll(poll_timeout)
  2981. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  2982. self.add_stream_tasks(partitions)
  2983. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  2984. in grouped_tasks.items()]
  2985. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  2986. for (task_id, partitions)
  2987. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  2988. self.topology = _topology_builder.build()
  2989. AttributeError: 'Topology' object has no attribute 'build'
  2990.  
  2991. [1] 57745 segmentation fault python3.6 main.py
  2992. (venv) ➜ python_project git:(master) ✗
  2993. (venv) ➜ python_project git:(master) ✗
  2994. (venv) ➜ python_project git:(master) ✗
  2995. (venv) ➜ python_project git:(master) ✗
  2996. (venv) ➜ python_project git:(master) ✗
  2997. (venv) ➜ python_project git:(master) ✗
  2998. (venv) ➜ python_project git:(master) ✗
  2999. (venv) ➜ python_project git:(master) ✗
  3000. (venv) ➜ python_project git:(master) ✗
  3001. (venv) ➜ python_project git:(master) ✗
  3002. (venv) ➜ python_project git:(master) ✗
  3003. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3004. File "main.py", line 101
  3005. wks.topology.processors[0].process(python stream key', 'python stream value')
  3006. ^
  3007. SyntaxError: invalid syntax
  3008. (venv) ➜ python_project git:(master) ✗
  3009. (venv) ➜ python_project git:(master) ✗
  3010. (venv) ➜ python_project git:(master) ✗
  3011. (venv) ➜ python_project git:(master) ✗
  3012. (venv) ➜ python_project git:(master) ✗
  3013. (venv) ➜ python_project git:(master) ✗
  3014. (venv) ➜ python_project git:(master) ✗
  3015. (venv) ➜ python_project git:(master) ✗
  3016. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3017. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'children', 'initialise', 'name', 'process', 'processor', 'punctuate', 'state_stores']
  3018. Traceback (most recent call last):
  3019. File "main.py", line 116, in <module>
  3020. write_stream()
  3021. File "main.py", line 101, in write_stream
  3022. wks.topology.processors[0].process('python stream key', 'python stream value')
  3023. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 25, in process
  3024. self.processor.process(key, value)
  3025. AttributeError: 'BaseProcessor' object has no attribute 'process'
  3026. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3027. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3028. Exception in thread Thread-1:
  3029. Traceback (most recent call last):
  3030. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3031. self.run()
  3032. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3033. self._target(*self._args, **self._kwargs)
  3034. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3035. records = self.poll_requests(0.1)
  3036. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3037. record = self.consumer.poll(poll_timeout)
  3038. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3039. self.add_stream_tasks(partitions)
  3040. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3041. in grouped_tasks.items()]
  3042. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3043. for (task_id, partitions)
  3044. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3045. self.topology = _topology_builder.build()
  3046. AttributeError: 'Topology' object has no attribute 'build'
  3047.  
  3048. [1] 57951 segmentation fault python3.6 main.py
  3049. (venv) ➜ python_project git:(master) ✗
  3050. (venv) ➜ python_project git:(master) ✗
  3051. (venv) ➜ python_project git:(master) ✗
  3052. (venv) ➜ python_project git:(master) ✗
  3053. (venv) ➜ python_project git:(master) ✗
  3054. (venv) ➜ python_project git:(master) ✗
  3055. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3056. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3057. Traceback (most recent call last):
  3058. File "main.py", line 116, in <module>
  3059. write_stream()
  3060. File "main.py", line 101, in write_stream
  3061. wks.topology.processors[0].process('python stream key', 'python stream value')
  3062. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 25, in process
  3063. self.processor.process(key, value)
  3064. AttributeError: 'BaseProcessor' object has no attribute 'process'
  3065. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3066. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3067. Exception in thread Thread-1:
  3068. Traceback (most recent call last):
  3069. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3070. self.run()
  3071. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3072. self._target(*self._args, **self._kwargs)
  3073. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3074. records = self.poll_requests(0.1)
  3075. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3076. record = self.consumer.poll(poll_timeout)
  3077. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3078. self.add_stream_tasks(partitions)
  3079. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3080. in grouped_tasks.items()]
  3081. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3082. for (task_id, partitions)
  3083. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3084. self.topology = _topology_builder.build()
  3085. AttributeError: 'Topology' object has no attribute 'build'
  3086.  
  3087. [1] 58060 segmentation fault python3.6 main.py
  3088. (venv) ➜ python_project git:(master) ✗
  3089. (venv) ➜ python_project git:(master) ✗
  3090. (venv) ➜ python_project git:(master) ✗
  3091. (venv) ➜ python_project git:(master) ✗
  3092. (venv) ➜ python_project git:(master) ✗
  3093. (venv) ➜ python_project git:(master) ✗
  3094. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3095. ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']
  3096. Traceback (most recent call last):
  3097. File "main.py", line 116, in <module>
  3098. write_stream()
  3099. File "main.py", line 101, in write_stream
  3100. wks.topology.processors[0].process('python stream key', 'python stream value')
  3101. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 25, in process
  3102. self.processor.process(key, value)
  3103. AttributeError: 'BaseProcessor' object has no attribute 'process'
  3104. ^CException ignored in: <module 'threading' from '/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py'>
  3105. Traceback (most recent call last):
  3106. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1294, in _shutdown
  3107. t.join()
  3108. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1056, in join
  3109. self._wait_for_tstate_lock()
  3110. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1072, in _wait_for_tstate_lock
  3111. elif lock.acquire(block, timeout):
  3112. KeyboardInterrupt
  3113. (venv) ➜ python_project git:(master) ✗
  3114. (venv) ➜ python_project git:(master) ✗
  3115. (venv) ➜ python_project git:(master) ✗
  3116. (venv) ➜ python_project git:(master) ✗
  3117. (venv) ➜ python_project git:(master) ✗
  3118. (venv) ➜ python_project git:(master) ✗
  3119. (venv) ➜ python_project git:(master) ✗
  3120. (venv) ➜ python_project git:(master) ✗
  3121. (venv) ➜ python_project git:(master) ✗
  3122. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3123. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'children', 'initialise', 'name', 'process', 'processor', 'punctuate', 'state_stores']
  3124. Traceback (most recent call last):
  3125. File "main.py", line 116, in <module>
  3126. write_stream()
  3127. File "main.py", line 101, in write_stream
  3128. wks.topology.processors[0].process('python stream key', 'python stream value')
  3129. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 25, in process
  3130. self.processor.process(key, value)
  3131. AttributeError: 'BaseProcessor' object has no attribute 'process'
  3132. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3133. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3134. Exception in thread Thread-1:
  3135. Traceback (most recent call last):
  3136. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3137. self.run()
  3138. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3139. self._target(*self._args, **self._kwargs)
  3140. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3141. records = self.poll_requests(0.1)
  3142. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3143. record = self.consumer.poll(poll_timeout)
  3144. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3145. self.add_stream_tasks(partitions)
  3146. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3147. in grouped_tasks.items()]
  3148. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3149. for (task_id, partitions)
  3150. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3151. self.topology = _topology_builder.build()
  3152. AttributeError: 'Topology' object has no attribute 'build'
  3153.  
  3154. [1] 58226 segmentation fault python3.6 main.py
  3155. (venv) ➜ python_project git:(master) ✗
  3156. (venv) ➜ python_project git:(master) ✗
  3157. (venv) ➜ python_project git:(master) ✗
  3158. (venv) ➜ python_project git:(master) ✗
  3159. (venv) ➜ python_project git:(master) ✗
  3160. (venv) ➜ python_project git:(master) ✗
  3161. (venv) ➜ python_project git:(master) ✗
  3162. (venv) ➜ python_project git:(master) ✗
  3163. (venv) ➜ python_project git:(master) ✗
  3164. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3165. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'children', 'initialise', 'name', 'process', 'processor', 'punctuate', 'state_stores']
  3166. Traceback (most recent call last):
  3167. File "main.py", line 116, in <module>
  3168. write_stream()
  3169. File "main.py", line 101, in write_stream
  3170. wks.topology.sinks[0].process('python stream key', 'python stream value')
  3171. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 25, in process
  3172. self.processor.process(key, value)
  3173. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  3174. self._send(key, value, self.context.timestamp)
  3175. AttributeError: 'NoneType' object has no attribute 'timestamp'
  3176. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3177. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3178. Exception in thread Thread-1:
  3179. Traceback (most recent call last):
  3180. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3181. self.run()
  3182. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3183. self._target(*self._args, **self._kwargs)
  3184. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3185. records = self.poll_requests(0.1)
  3186. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3187. record = self.consumer.poll(poll_timeout)
  3188. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3189. self.add_stream_tasks(partitions)
  3190. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3191. in grouped_tasks.items()]
  3192. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3193. for (task_id, partitions)
  3194. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3195. self.topology = _topology_builder.build()
  3196. AttributeError: 'Topology' object has no attribute 'build'
  3197.  
  3198. [1] 58326 segmentation fault python3.6 main.py
  3199. (venv) ➜ python_project git:(master) ✗
  3200. (venv) ➜ python_project git:(master) ✗
  3201. (venv) ➜ python_project git:(master) ✗
  3202. (venv) ➜ python_project git:(master) ✗
  3203. (venv) ➜ python_project git:(master) ✗
  3204. (venv) ➜ python_project git:(master) ✗
  3205. (venv) ➜ python_project git:(master) ✗
  3206. (venv) ➜ python_project git:(master) ✗
  3207. (venv) ➜ python_project git:(master) ✗
  3208. (venv) ➜ python_project git:(master) ✗
  3209. (venv) ➜ python_project git:(master) ✗
  3210. (venv) ➜ python_project git:(master) ✗
  3211. (venv) ➜ python_project git:(master) ✗
  3212. (venv) ➜ python_project git:(master) ✗
  3213. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3214. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'children', 'initialise', 'name', 'process', 'processor', 'punctuate', 'state_stores']
  3215. Traceback (most recent call last):
  3216. File "main.py", line 120, in <module>
  3217. write_stream()
  3218. File "main.py", line 102, in write_stream
  3219. class TimestampContainer:
  3220. File "main.py", line 103, in TimestampContainer
  3221. timestamp = datetime.now()
  3222. AttributeError: module 'datetime' has no attribute 'now'
  3223. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3224. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3225. Exception in thread Thread-1:
  3226. Traceback (most recent call last):
  3227. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3228. self.run()
  3229. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3230. self._target(*self._args, **self._kwargs)
  3231. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3232. records = self.poll_requests(0.1)
  3233. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3234. record = self.consumer.poll(poll_timeout)
  3235. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3236. self.add_stream_tasks(partitions)
  3237. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3238. in grouped_tasks.items()]
  3239. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3240. for (task_id, partitions)
  3241. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3242. self.topology = _topology_builder.build()
  3243. AttributeError: 'Topology' object has no attribute 'build'
  3244.  
  3245. [1] 58542 segmentation fault python3.6 main.py
  3246. (venv) ➜ python_project git:(master) ✗
  3247. (venv) ➜ python_project git:(master) ✗
  3248. (venv) ➜ python_project git:(master) ✗
  3249. (venv) ➜ python_project git:(master) ✗
  3250. (venv) ➜ python_project git:(master) ✗
  3251. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3252. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'children', 'initialise', 'name', 'process', 'processor', 'punctuate', 'state_stores']
  3253. Traceback (most recent call last):
  3254. File "main.py", line 120, in <module>
  3255. write_stream()
  3256. File "main.py", line 104, in write_stream
  3257. wks.topology.sinks[0].initialize('write', TimestampContainer)
  3258. AttributeError: 'ProcessorNode' object has no attribute 'initialize'
  3259. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3260. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3261. Exception in thread Thread-1:
  3262. Traceback (most recent call last):
  3263. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3264. self.run()
  3265. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3266. self._target(*self._args, **self._kwargs)
  3267. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3268. records = self.poll_requests(0.1)
  3269. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3270. record = self.consumer.poll(poll_timeout)
  3271. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3272. self.add_stream_tasks(partitions)
  3273. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3274. in grouped_tasks.items()]
  3275. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3276. for (task_id, partitions)
  3277. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3278. self.topology = _topology_builder.build()
  3279. AttributeError: 'Topology' object has no attribute 'build'
  3280.  
  3281. [1] 58615 segmentation fault python3.6 main.py
  3282. (venv) ➜ python_project git:(master) ✗
  3283. (venv) ➜ python_project git:(master) ✗
  3284. (venv) ➜ python_project git:(master) ✗
  3285. (venv) ➜ python_project git:(master) ✗
  3286. (venv) ➜ python_project git:(master) ✗
  3287. (venv) ➜ python_project git:(master) ✗
  3288. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3289. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'children', 'initialise', 'name', 'process', 'processor', 'punctuate', 'state_stores']
  3290. Traceback (most recent call last):
  3291. File "main.py", line 120, in <module>
  3292. write_stream()
  3293. File "main.py", line 104, in write_stream
  3294. wks.topology.sinks[0].initialise('write', TimestampContainer)
  3295. TypeError: initialise() takes 2 positional arguments but 3 were given
  3296. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3297. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3298. Exception in thread Thread-1:
  3299. Traceback (most recent call last):
  3300. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3301. self.run()
  3302. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3303. self._target(*self._args, **self._kwargs)
  3304. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3305. records = self.poll_requests(0.1)
  3306. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3307. record = self.consumer.poll(poll_timeout)
  3308. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3309. self.add_stream_tasks(partitions)
  3310. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3311. in grouped_tasks.items()]
  3312. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3313. for (task_id, partitions)
  3314. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3315. self.topology = _topology_builder.build()
  3316. AttributeError: 'Topology' object has no attribute 'build'
  3317.  
  3318. [1] 58690 segmentation fault python3.6 main.py
  3319. (venv) ➜ python_project git:(master) ✗
  3320. (venv) ➜ python_project git:(master) ✗
  3321. (venv) ➜ python_project git:(master) ✗
  3322. (venv) ➜ python_project git:(master) ✗
  3323. (venv) ➜ python_project git:(master) ✗
  3324. (venv) ➜ python_project git:(master) ✗
  3325. (venv) ➜ python_project git:(master) ✗
  3326. (venv) ➜ python_project git:(master) ✗
  3327. (venv) ➜ python_project git:(master) ✗
  3328. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3329. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'children', 'initialise', 'name', 'process', 'processor', 'punctuate', 'state_stores']
  3330. Traceback (most recent call last):
  3331. File "main.py", line 120, in <module>
  3332. write_stream()
  3333. File "main.py", line 105, in write_stream
  3334. wks.topology.sinks[0].process('python stream key', 'python stream value')
  3335. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 25, in process
  3336. self.processor.process(key, value)
  3337. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  3338. self._send(key, value, self.context.timestamp)
  3339. AttributeError: 'str' object has no attribute 'timestamp'
  3340. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3341. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3342. Exception in thread Thread-1:
  3343. Traceback (most recent call last):
  3344. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3345. self.run()
  3346. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3347. self._target(*self._args, **self._kwargs)
  3348. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3349. records = self.poll_requests(0.1)
  3350. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3351. record = self.consumer.poll(poll_timeout)
  3352. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3353. self.add_stream_tasks(partitions)
  3354. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3355. in grouped_tasks.items()]
  3356. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3357. for (task_id, partitions)
  3358. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3359. self.topology = _topology_builder.build()
  3360. AttributeError: 'Topology' object has no attribute 'build'
  3361.  
  3362. [1] 58793 segmentation fault python3.6 main.py
  3363. (venv) ➜ python_project git:(master) ✗
  3364. (venv) ➜ python_project git:(master) ✗
  3365. (venv) ➜ python_project git:(master) ✗
  3366. (venv) ➜ python_project git:(master) ✗
  3367. (venv) ➜ python_project git:(master) ✗
  3368. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3369. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'children', 'initialise', 'name', 'process', 'processor', 'punctuate', 'state_stores']
  3370. Traceback (most recent call last):
  3371. File "main.py", line 120, in <module>
  3372. write_stream()
  3373. File "main.py", line 105, in write_stream
  3374. wks.topology.sinks[0].process('python stream key', 'python stream value')
  3375. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 25, in process
  3376. self.processor.process(key, value)
  3377. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  3378. self._send(key, value, self.context.timestamp)
  3379. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 59, in _send
  3380. self.context.recordCollector.send(self.topic, key, value, timestamp)
  3381. AttributeError: type object 'TimestampContainer' has no attribute 'recordCollector'
  3382. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3383. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3384. Exception in thread Thread-1:
  3385. Traceback (most recent call last):
  3386. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3387. self.run()
  3388. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3389. self._target(*self._args, **self._kwargs)
  3390. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3391. records = self.poll_requests(0.1)
  3392. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3393. record = self.consumer.poll(poll_timeout)
  3394. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3395. self.add_stream_tasks(partitions)
  3396. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3397. in grouped_tasks.items()]
  3398. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3399. for (task_id, partitions)
  3400. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3401. self.topology = _topology_builder.build()
  3402. AttributeError: 'Topology' object has no attribute 'build'
  3403.  
  3404. [1] 58857 segmentation fault python3.6 main.py
  3405. (venv) ➜ python_project git:(master) ✗
  3406. (venv) ➜ python_project git:(master) ✗
  3407. (venv) ➜ python_project git:(master) ✗
  3408. (venv) ➜ python_project git:(master) ✗
  3409. (venv) ➜ python_project git:(master) ✗
  3410. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3411. File "main.py", line 99
  3412. print(dir(wks.topology]))
  3413. ^
  3414. SyntaxError: invalid syntax
  3415. (venv) ➜ python_project git:(master) ✗
  3416. (venv) ➜ python_project git:(master) ✗
  3417. (venv) ➜ python_project git:(master) ✗
  3418. (venv) ➜ python_project git:(master) ✗
  3419. (venv) ➜ python_project git:(master) ✗
  3420. (venv) ➜ python_project git:(master) ✗
  3421. (venv) ➜ python_project git:(master) ✗
  3422. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3423. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3424. Traceback (most recent call last):
  3425. File "main.py", line 120, in <module>
  3426. write_stream()
  3427. File "main.py", line 105, in write_stream
  3428. wks.topology.sinks[0].process('python stream key', 'python stream value')
  3429. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 25, in process
  3430. self.processor.process(key, value)
  3431. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  3432. self._send(key, value, self.context.timestamp)
  3433. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 59, in _send
  3434. self.context.recordCollector.send(self.topic, key, value, timestamp)
  3435. AttributeError: type object 'TimestampContainer' has no attribute 'recordCollector'
  3436. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3437. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3438. Exception in thread Thread-1:
  3439. Traceback (most recent call last):
  3440. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3441. self.run()
  3442. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3443. self._target(*self._args, **self._kwargs)
  3444. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3445. records = self.poll_requests(0.1)
  3446. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3447. record = self.consumer.poll(poll_timeout)
  3448. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3449. self.add_stream_tasks(partitions)
  3450. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3451. in grouped_tasks.items()]
  3452. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3453. for (task_id, partitions)
  3454. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3455. self.topology = _topology_builder.build()
  3456. AttributeError: 'Topology' object has no attribute 'build'
  3457.  
  3458. [1] 59000 segmentation fault python3.6 main.py
  3459. (venv) ➜ python_project git:(master) ✗
  3460. (venv) ➜ python_project git:(master) ✗
  3461. (venv) ➜ python_project git:(master) ✗
  3462. (venv) ➜ python_project git:(master) ✗
  3463. (venv) ➜ python_project git:(master) ✗
  3464. (venv) ➜ python_project git:(master) ✗
  3465. (venv) ➜ python_project git:(master) ✗
  3466. (venv) ➜ python_project git:(master) ✗
  3467. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3468. Traceback (most recent call last):
  3469. File "main.py", line 123, in <module>
  3470. write_stream()
  3471. File "main.py", line 99, in write_stream
  3472. context = Context(wks.topology.state_stores)
  3473. UnboundLocalError: local variable 'wks' referenced before assignment
  3474. (venv) ➜ python_project git:(master) ✗
  3475. (venv) ➜ python_project git:(master) ✗
  3476. (venv) ➜ python_project git:(master) ✗
  3477. (venv) ➜ python_project git:(master) ✗
  3478. (venv) ➜ python_project git:(master) ✗
  3479. (venv) ➜ python_project git:(master) ✗
  3480. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3481. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3482. Traceback (most recent call last):
  3483. File "main.py", line 123, in <module>
  3484. write_stream()
  3485. File "main.py", line 108, in write_stream
  3486. wks.topology.sinks[0].process('python stream key', 'python stream value')
  3487. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 25, in process
  3488. self.processor.process(key, value)
  3489. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  3490. self._send(key, value, self.context.timestamp)
  3491. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 59, in _send
  3492. self.context.recordCollector.send(self.topic, key, value, timestamp)
  3493. AttributeError: type object 'TimestampContainer' has no attribute 'recordCollector'
  3494. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3495. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3496. Exception in thread Thread-1:
  3497. Traceback (most recent call last):
  3498. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3499. self.run()
  3500. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3501. self._target(*self._args, **self._kwargs)
  3502. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3503. records = self.poll_requests(0.1)
  3504. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3505. record = self.consumer.poll(poll_timeout)
  3506. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3507. self.add_stream_tasks(partitions)
  3508. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3509. in grouped_tasks.items()]
  3510. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3511. for (task_id, partitions)
  3512. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3513. self.topology = _topology_builder.build()
  3514. AttributeError: 'Topology' object has no attribute 'build'
  3515.  
  3516. [1] 59224 segmentation fault python3.6 main.py
  3517. (venv) ➜ python_project git:(master) ✗
  3518. (venv) ➜ python_project git:(master) ✗
  3519. (venv) ➜ python_project git:(master) ✗
  3520. (venv) ➜ python_project git:(master) ✗
  3521. (venv) ➜ python_project git:(master) ✗
  3522. (venv) ➜ python_project git:(master) ✗
  3523. (venv) ➜ python_project git:(master) ✗
  3524. (venv) ➜ python_project git:(master) ✗
  3525. (venv) ➜ python_project git:(master) ✗
  3526. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3527. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3528. Traceback (most recent call last):
  3529. File "main.py", line 123, in <module>
  3530. write_stream()
  3531. File "main.py", line 108, in write_stream
  3532. wks.topology.sinks[0].process('python stream key', 'python stream value')
  3533. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 25, in process
  3534. self.processor.process(key, value)
  3535. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  3536. self._send(key, value, self.context.timestamp)
  3537. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 59, in _send
  3538. self.context.recordCollector.send(self.topic, key, value, timestamp)
  3539. AttributeError: type object 'TimestampContainer' has no attribute 'recordCollector'
  3540.  
  3541.  
  3542.  
  3543.  
  3544.  
  3545.  
  3546.  
  3547. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3548.  
  3549. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3550. Exception in thread Thread-1:
  3551. Traceback (most recent call last):
  3552. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3553. self.run()
  3554. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3555. self._target(*self._args, **self._kwargs)
  3556. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3557. records = self.poll_requests(0.1)
  3558. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3559. record = self.consumer.poll(poll_timeout)
  3560. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3561. self.add_stream_tasks(partitions)
  3562. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3563. in grouped_tasks.items()]
  3564. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3565. for (task_id, partitions)
  3566. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3567. self.topology = _topology_builder.build()
  3568. AttributeError: 'Topology' object has no attribute 'build'
  3569.  
  3570.  
  3571. [1] 59335 segmentation fault python3.6 main.py
  3572. (venv) ➜ python_project git:(master) ✗
  3573. (venv) ➜ python_project git:(master) ✗
  3574. (venv) ➜ python_project git:(master) ✗
  3575. (venv) ➜ python_project git:(master) ✗
  3576. (venv) ➜ python_project git:(master) ✗
  3577. (venv) ➜ python_project git:(master) ✗
  3578. (venv) ➜ python_project git:(master) ✗
  3579. (venv) ➜ python_project git:(master) ✗
  3580. (venv) ➜ python_project git:(master) ✗
  3581. (venv) ➜ python_project git:(master) ✗
  3582. (venv) ➜ python_project git:(master) ✗
  3583. (venv) ➜ python_project git:(master) ✗
  3584. (venv) ➜ python_project git:(master) ✗
  3585. (venv) ➜ python_project git:(master) ✗
  3586. (venv) ➜ python_project git:(master) ✗
  3587. (venv) ➜ python_project git:(master) ✗
  3588. (venv) ➜ python_project git:(master) ✗
  3589. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3590. File "main.py", line 82
  3591. from winton-kafka-streams.winton_kafka_streams.processor._record_collector import RecordCollector
  3592. ^
  3593. SyntaxError: invalid syntax
  3594. (venv) ➜ python_project git:(master) ✗
  3595. (venv) ➜ python_project git:(master) ✗
  3596. (venv) ➜ python_project git:(master) ✗
  3597. (venv) ➜ python_project git:(master) ✗
  3598. (venv) ➜ python_project git:(master) ✗
  3599. (venv) ➜ python_project git:(master) ✗
  3600. (venv) ➜ python_project git:(master) ✗
  3601. (venv) ➜ python_project git:(master) ✗
  3602. (venv) ➜ python_project git:(master) ✗
  3603. (venv) ➜ python_project git:(master) ✗
  3604. (venv) ➜ python_project git:(master) ✗
  3605. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3606. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3607. Traceback (most recent call last):
  3608. File "main.py", line 130, in <module>
  3609. write_stream()
  3610. File "main.py", line 115, in write_stream
  3611. wks.topology.sinks[0].process('python stream key', 'python stream value')
  3612. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/topology.py", line 25, in process
  3613. self.processor.process(key, value)
  3614. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 53, in process
  3615. self._send(key, value, self.context.timestamp)
  3616. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/processor.py", line 59, in _send
  3617. self.context.recordCollector.send(self.topic, key, value, timestamp)
  3618. AttributeError: type object 'TimestampContainer' has no attribute 'recordCollector'
  3619.  
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3627. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3628. Exception in thread Thread-1:
  3629. Traceback (most recent call last):
  3630. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3631. self.run()
  3632. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3633. self._target(*self._args, **self._kwargs)
  3634. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3635. records = self.poll_requests(0.1)
  3636. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3637. record = self.consumer.poll(poll_timeout)
  3638. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3639. self.add_stream_tasks(partitions)
  3640. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3641. in grouped_tasks.items()]
  3642. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3643. for (task_id, partitions)
  3644. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3645. self.topology = _topology_builder.build()
  3646. AttributeError: 'Topology' object has no attribute 'build'
  3647.  
  3648. [1] 59739 segmentation fault python3.6 main.py
  3649. (venv) ➜ python_project git:(master) ✗
  3650. (venv) ➜ python_project git:(master) ✗
  3651. (venv) ➜ python_project git:(master) ✗
  3652. (venv) ➜ python_project git:(master) ✗
  3653. (venv) ➜ python_project git:(master) ✗
  3654. (venv) ➜ python_project git:(master) ✗
  3655. (venv) ➜ python_project git:(master) ✗
  3656. (venv) ➜ python_project git:(master) ✗
  3657. (venv) ➜ python_project git:(master) ✗
  3658. (venv) ➜ python_project git:(master) ✗
  3659. (venv) ➜ python_project git:(master) ✗
  3660. (venv) ➜ python_project git:(master) ✗
  3661. (venv) ➜ python_project git:(master) ✗
  3662. (venv) ➜ python_project git:(master) ✗
  3663. (venv) ➜ python_project git:(master) ✗
  3664. (venv) ➜ python_project git:(master) ✗
  3665. (venv) ➜ python_project git:(master) ✗
  3666. (venv) ➜ python_project git:(master) ✗
  3667. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3668. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3669. (venv) ➜ python_project git:(master) ✗
  3670. (venv) ➜ python_project git:(master) ✗
  3671. (venv) ➜ python_project git:(master) ✗
  3672. (venv) ➜ python_project git:(master) ✗
  3673. (venv) ➜ python_project git:(master) ✗
  3674. (venv) ➜ python_project git:(master) ✗
  3675. (venv) ➜ python_project git:(master) ✗
  3676. (venv) ➜ python_project git:(master) ✗
  3677. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3678. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3679. Traceback (most recent call last):
  3680. File "main.py", line 132, in <module>
  3681. write_stream()
  3682. File "main.py", line 114, in write_stream
  3683. record_collector.send('mytopic', 'python key', 'python value', datetime.time())
  3684. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_record_collector.py", line 30, in send
  3685. ser_key = self.key_serde.serializer.serialize(topic, key)
  3686. AttributeError: 'function' object has no attribute 'serializer'
  3687. Unexpected state transition from RUNNING to ASSIGNING_PARTITIONS.
  3688. Unexpected state transition from ASSIGNING_PARTITIONS to NOT_RUNNING.
  3689. Exception in thread Thread-1:
  3690. Traceback (most recent call last):
  3691. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  3692. self.run()
  3693. File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  3694. self._target(*self._args, **self._kwargs)
  3695. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 134, in run
  3696. records = self.poll_requests(0.1)
  3697. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 157, in poll_requests
  3698. record = self.consumer.poll(poll_timeout)
  3699. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 215, in on_assign
  3700. self.add_stream_tasks(partitions)
  3701. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 209, in add_stream_tasks
  3702. in grouped_tasks.items()]
  3703. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_thread.py", line 208, in <listcomp>
  3704. for (task_id, partitions)
  3705. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_stream_task.py", line 59, in __init__
  3706. self.topology = _topology_builder.build()
  3707. AttributeError: 'Topology' object has no attribute 'build'
  3708.  
  3709. [1] 60028 segmentation fault python3.6 main.py
  3710. (venv) ➜ python_project git:(master) ✗
  3711. (venv) ➜ python_project git:(master) ✗
  3712. (venv) ➜ python_project git:(master) ✗
  3713. (venv) ➜ python_project git:(master) ✗
  3714. (venv) ➜ python_project git:(master) ✗
  3715. (venv) ➜ python_project git:(master) ✗
  3716. (venv) ➜ python_project git:(master) ✗
  3717. (venv) ➜ python_project git:(master) ✗
  3718. (venv) ➜ python_project git:(master) ✗
  3719. (venv) ➜ python_project git:(master) ✗
  3720. (venv) ➜ python_project git:(master) ✗
  3721. (venv) ➜ python_project git:(master) ✗
  3722. (venv) ➜ python_project git:(master) ✗
  3723. (venv) ➜ python_project git:(master) ✗
  3724. (venv) ➜ python_project git:(master) ✗
  3725. (venv) ➜ python_project git:(master) ✗
  3726. (venv) ➜ python_project git:(master) ✗
  3727. (venv) ➜ python_project git:(master) ✗
  3728. (venv) ➜ python_project git:(master) ✗
  3729. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3730. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3731. Traceback (most recent call last):
  3732. File "main.py", line 132, in <module>
  3733. write_stream()
  3734. File "main.py", line 114, in write_stream
  3735. record_collector.send('mytopic', key='python key', value='python value', timestamp=datetime.time())
  3736. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_record_collector.py", line 30, in send
  3737. ser_key = self.key_serde.serializer.serialize(topic, key)
  3738. AttributeError: 'function' object has no attribute 'serializer'
  3739. (venv) ➜ python_project git:(master) ✗
  3740. (venv) ➜ python_project git:(master) ✗
  3741. (venv) ➜ python_project git:(master) ✗
  3742. (venv) ➜ python_project git:(master) ✗
  3743. (venv) ➜ python_project git:(master) ✗
  3744. (venv) ➜ python_project git:(master) ✗
  3745. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3746. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3747. Traceback (most recent call last):
  3748. File "main.py", line 135, in <module>
  3749. write_stream()
  3750. File "main.py", line 117, in write_stream
  3751. record_collector.send('mytopic', key='python key', value='python value', timestamp=datetime.time())
  3752. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_record_collector.py", line 30, in send
  3753. ser_key = self.key_serde.serializer.serialize(topic, key)
  3754. AttributeError: type object 'Serializer' has no attribute 'serializer'
  3755. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3756. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3757. Traceback (most recent call last):
  3758. File "main.py", line 135, in <module>
  3759. write_stream()
  3760. File "main.py", line 117, in write_stream
  3761. record_collector.send('mytopic', key='python key', value='python value', timestamp=datetime.time())
  3762. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_record_collector.py", line 30, in send
  3763. ser_key = self.key_serde.serializer.serialize(topic, key)
  3764. AttributeError: 'function' object has no attribute 'serialize'
  3765. (venv) ➜ python_project git:(master) ✗
  3766. (venv) ➜ python_project git:(master) ✗
  3767. (venv) ➜ python_project git:(master) ✗
  3768. (venv) ➜ python_project git:(master) ✗
  3769. (venv) ➜ python_project git:(master) ✗
  3770. (venv) ➜ python_project git:(master) ✗
  3771. (venv) ➜ python_project git:(master) ✗
  3772. (venv) ➜ python_project git:(master) ✗
  3773. (venv) ➜ python_project git:(master) ✗
  3774. (venv) ➜ python_project git:(master) ✗
  3775. (venv) ➜ python_project git:(master) ✗
  3776. (venv) ➜ python_project git:(master) ✗
  3777. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3778. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3779. Traceback (most recent call last):
  3780. File "main.py", line 136, in <module>
  3781. write_stream()
  3782. File "main.py", line 118, in write_stream
  3783. record_collector.send('mytopic', key='python key', value='python value', timestamp=datetime.time())
  3784. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_record_collector.py", line 30, in send
  3785. ser_key = self.key_serde.serializer.serialize(topic, key)
  3786. AttributeError: type object 'KeySerde' has no attribute 'serializer'
  3787. (venv) ➜ python_project git:(master) ✗
  3788. (venv) ➜ python_project git:(master) ✗
  3789. (venv) ➜ python_project git:(master) ✗
  3790. (venv) ➜ python_project git:(master) ✗
  3791. (venv) ➜ python_project git:(master) ✗
  3792. (venv) ➜ python_project git:(master) ✗
  3793. (venv) ➜ python_project git:(master) ✗
  3794. (venv) ➜ python_project git:(master) ✗
  3795. (venv) ➜ python_project git:(master) ✗
  3796. (venv) ➜ python_project git:(master) ✗
  3797. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3798. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3799. Traceback (most recent call last):
  3800. File "main.py", line 136, in <module>
  3801. write_stream()
  3802. File "main.py", line 118, in write_stream
  3803. record_collector.send('mytopic', key='python key', value='python value', timestamp=datetime.time())
  3804. File "/Users/vlad/Documents/projects/binding_with_kafka/python_project/winton_kafka_streams/processor/_record_collector.py", line 31, in send
  3805. ser_value = self.value_serde.serializer.serialize(topic, value)
  3806. AttributeError: 'function' object has no attribute 'serializer'
  3807. (venv) ➜ python_project git:(master) ✗
  3808. (venv) ➜ python_project git:(master) ✗
  3809. (venv) ➜ python_project git:(master) ✗
  3810. (venv) ➜ python_project git:(master) ✗
  3811. (venv) ➜ python_project git:(master) ✗
  3812. (venv) ➜ python_project git:(master) ✗
  3813. (venv) ➜ python_project git:(master) ✗
  3814. (venv) ➜ python_project git:(master) ✗
  3815. (venv) ➜ python_project git:(master) ✗
  3816. (venv) ➜ python_project git:(master) ✗
  3817. (venv) ➜ python_project git:(master) ✗
  3818. (venv) ➜ python_project git:(master) ✗
  3819. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3820. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3821. (venv) ➜ python_project git:(master) ✗
  3822. (venv) ➜ python_project git:(master) ✗
  3823. (venv) ➜ python_project git:(master) ✗
  3824. (venv) ➜ python_project git:(master) ✗
  3825. (venv) ➜ python_project git:(master) ✗
  3826. (venv) ➜ python_project git:(master) ✗
  3827. (venv) ➜ python_project git:(master) ✗
  3828. (venv) ➜ python_project git:(master) ✗
  3829. (venv) ➜ python_project git:(master) ✗
  3830. (venv) ➜ python_project git:(master) ✗
  3831. (venv) ➜ python_project git:(master) ✗
  3832. (venv) ➜ python_project git:(master) ✗ python3.6 main.py
  3833. ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_add_node', 'nodes', 'processors', 'sinks', 'sources', 'state_stores', 'topics']
  3834. (venv) ➜ python_project git:(master) ✗
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement