You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/02/25 06:17:43 UTC
[GitHub] david-streamlio edited a comment on issue #3678: [Pulsar Functions]
Add support for multiple sinks/sources in a single NAR file.
david-streamlio edited a comment on issue #3678: [Pulsar Functions] Add support for multiple sinks/sources in a single NAR file.
URL: https://github.com/apache/pulsar/pull/3678#issuecomment-466884575
There wouldn't be a difference between submitting an uber jar and a NAR. They would both be submitted in the exact same way. Each would require the user to specify an archive AND a classname.
`bin/pulsar-admin source create --classname org.apache.pulsar.io.aws.sqs.SqsSource --archive /Users/david/clone-zone/streamlio/pulsar-connectors/pulsar-nar-bundles/pulsar-aws-connector-bundle/pulsar-aws-nar/target/pulsar-aws-nar-0.0.1.nar --className org.apache.pulsar.io.aws.s3.source.AwsS3Source --name s3-source --destination-topic-name s3_data --source-config-file /Users/david/Desktop/s3-config.yaml`
If no classname is specified, then the NAR is deployed as normal, i.e. the classes defined in the pulsar-io.yaml file will be used instead.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services