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

Need a list of the available downloadable connectors #4265

Open
Yashaswini1998 opened this issue Nov 19, 2024 · 8 comments
Open

Need a list of the available downloadable connectors #4265

Yashaswini1998 opened this issue Nov 19, 2024 · 8 comments

Comments

@Yashaswini1998
Copy link

Hi, can someone please direct me to the list of available downloadable list of inbound and outbound connectors?

The hub link only gives the details and not the commands to download the connectors using the cdk command as shown here for the HTTP inbound connector in the quickstart "cdk hub download infinyon/[email protected]"

The config files given in the hub link ask for a complete RUST project to be built from scratch including files like Cargo.toml etc. Can someone please share a sample project I can refer to build my custom connectors as well?

@ajhunyady
Copy link
Contributor

@digikata can you please share the details, and maybe the ‘hello world’ connector as well.

@Yashaswini1998
Copy link
Author

@ajhunyady Thank you so much for responding.

Just an update. I got the list of the available connectors by doing "fluvio hub connector list". However, the duckdb-sink connector says 404 error not found.

I'm trying the sql-sink connector now where the given config in the hub link uses json-sql smart module. The json-sql smart module also seems to be missing as this also throws a 404 Not Found error.
$ cdk hub download infinyon/[email protected]
Image

Also, when I try to deploy the connector using cdk deploy start command, it says connector started but after listing it says Stopped under status.

I observed the same with the mqtt-source connector as well. Please find the screenshot below.
Image

So, I think @digikata and @ajhunyady it would be really helpful if you could share that "hello world" connector along with the step-by-step instructions to set it up.

@drc-infinyon
Copy link
Contributor

drc-infinyon commented Nov 20, 2024

The sql sink connector download command is

$ cdk hub list

Which gives you

benmanns/[email protected]        public     
day-os/[email protected]        public     
infinyon-labs/[email protected]  public     
infinyon/[email protected]         public     
infinyon/[email protected]          public     
infinyon/[email protected]         public     
infinyon/[email protected]   public     
infinyon/[email protected]  public     
infinyon/[email protected]          public     
infinyon/[email protected]        public     
infinyon/[email protected]         public     
infinyon/[email protected]            public     
qdrant/[email protected]           public     
sdf-test/[email protected]   public

And then the command to download is:

cdk hub download infinyon/[email protected]

Can you share your connector config.yaml for the stopped connectors?

@ajhunyady
Copy link
Contributor

@Yashaswini1998, smartmodules are downloaded on your cluster and they require a different command:

$ fluvio hub smartmodule download infinyon/[email protected]

Unfortunately DuckDb connector was experimental and we did not update it. We'll move that out of the infinyon hub.
However, http-sink should work as expected.

@Yashaswini1998
Copy link
Author

Yashaswini1998 commented Nov 21, 2024

@ajhunyady Okay, Thank you so much for your response. Can you please confirm if we can expect duckdb connector to be available anytime soon?

@drc-infinyon Thank you for your response too!
I'm using the config.yaml give in the hub documentation here for the respective connectors.
I'm following the below steps: (using mqtt-source example)

  1. I download the connector cdk hub download infinyon/[email protected]
  2. Create the sample-config.yaml file with the given script in the link
  3. Deploy the connector cdk deploy start --config sample-config.yaml --ipkg infinyon-mqtt-source-0.2.9.ipkg
    Says started connector
  4. Immediately when I try to list the deployments it says stopped
    Image

Am I missing any step?

Note: I have checked that the fluvio cluster is resumed and running
http-source connector works fine that is given in the quickstart

@ajhunyady
Copy link
Contributor

what does cdk deploy log show?

@Yashaswini1998
Copy link
Author

timed out searching metadata Partition failed due to timeout: 60000 ms

Image

@ajhunyady
Copy link
Contributor

A few questions:

  • What environment are you running?
  • Can you produce & consume from the CLI?
  • What is the output of fluvio partition list ?

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

3 participants