Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

format option not accepted #179

Open
5 tasks
dpetravick opened this issue Apr 20, 2022 · 3 comments
Open
5 tasks

format option not accepted #179

dpetravick opened this issue Apr 20, 2022 · 3 comments

Comments

@dpetravick
Copy link
Contributor

Description

As a user, I want to follows the documentation in the tutorial and publish a test blob.

But the tutorial l seems to not be accurate for the version of Hop available by pip.

base) ITs-MacBook-Pro:CMB-S4-Hop-play donaldp$ hop --version
hop version 0.0.5
(base) ITs-MacBook-Pro:CMB-S4-Hop-play donaldp$ hop publish --format BLOB kafka://kafka.scimma.org/cmb-s4-fabric-tests.phase-one-testing blob.txt
usage: hop [-h] [--version] ...
hop: error: unrecognized arguments: --format

Publish directions are here:
https://github.com/scimma/hop-client/wiki/Tutorial:-using-hop-client-with-the-SCiMMA-Hopskotch-server

I can publish something based on the model shell commands in the tutorial.

Tasks/Items:

  • First item
  • Second item
  • ...
  • ...
  • ...
@cnweaver cnweaver changed the title User Story issue format option not accepted Apr 20, 2022
@dpetravick
Copy link
Contributor Author

@cnweaver
Copy link
Contributor

I don't think we ever published a hop version 0.0.5? The current version should be 0.5.0, which should support --format (and it's a bug for us to fix if it rejects it). However, it seems to work for me with a fresh copy installed from pip:

$ hop version                                                                                                                                                                                                       
hop-client==0.5.0
adc_streaming==2.0.0
confluent_kafka==1.8.2
librdkafka==1.8.2
$ hop publish --format BLOB kafka://dev.hop.scimma.org/delete.t1 del.txt                                                                                                                                            
2022-04-20 12:45:30,938 | hop : INFO : connecting to kafka://dev.hop.scimma.org
2022-04-20 12:45:30,953 | hop : INFO : publishing to topic: delete.t1
2022-04-20 12:45:30,954 | hop : INFO : publishing messages to stream
2022-04-20 12:45:30,954 | hop : INFO : closing connection

@dpetravick
Copy link
Contributor Author

well I did a
$ pip install hop-client
without thinking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants