GitHub user tisonkun created a discussion: How do you develop connectors in the 
repo workspace?

That said, working with Pulsar connectors is based on Pulsar functions, and in 
`conf/functions_worker.yml` we configure:

```yaml
connectorsDirectory: ./connectors
```

However, the bundled connectors are under 
`./distribution/io/target/apache-pulsar-io-connectors-<version>-bin`.

It causes when I run code snippets from our docs like:

```shell
./bin/pulsar-admin sources create --name generator --destinationTopicName 
generator_test --source-type data-generator
```

It complains:

```
Invalid source type 'data-generator' -- Available sources are: []
```

Creating a directory under the root path and copying connectors' NAR files 
works, but it's a bit clumsy:

```shell
cp distribution/io/target/apache-pulsar-io-connectors-2.11.0-SNAPSHOT-bin/*.nar 
connectors 
``

I want to learn how you develop connectors in the repo workspace. Is there some 
way better than that described above?

cc @merlimat @lhotari 

GitHub link: https://github.com/apache/pulsar/discussions/16886

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org

Reply via email to