Not able to create a Pulsar function
See original GitHub issueDescribe the bug We are trying to create a Pulsar function and deploy that in a bare-metal cluster we already have. We are creating the Exclamation function(exfun.py) given in the example as follows
bin/pulsar-admin functions create --py exfun.py --classname ExclamationFunction --tenant public --namespace default --name process --inputs test-in-1 --output test-out-1
But it gives the following error
null
Reason: java.lang.NumberFormatException: For input string: "8080,fyp2:8080"
We are having a 2-node cluster with the following configuration:
bin/pulsar initialize-cluster-metadata --cluster pulsar-cluster-1 --zookeeper fyp1:2181 --web-service-url http://fyp1:8080,fyp2:8080 --broker-service-url pulsar://fyp1:6650,fyp2:6650 --configuration-store fyp1:2181
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Develop Pulsar Functions
If a Pulsar Function uses the language-native interface for Java or Python, that function is not able to publish metrics and stats to...
Read more >Apache Pulsar: Access state storage in LocalRunner not ...
I'm trying to implement a simple Apache Pulsar Function and access the State API in LocalRunner mode, but it's not working. pom.xml snippet...
Read more >Pulsar Function CRD configurations
This document lists CRD configurations available for Pulsar Functions. The CRD configurations for Pulsar Functions consist of Function configurations and ...
Read more >Pulsar Functions | StreamNative Documentation
Pulsar Functions are lightweight compute processes that can perform the following operations: Consume messages from one or more Pulsar topics.
Read more >Developing and Running Serverless Apache Pulsar Functions
Now let's get into how you can develop, deploy, and test your very own Pulsar Function using Astra. Now to the core: the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When I run the official tutorial, I got the same problem, right?
@vishalananth07 in case of me, I faced same issue when I set webServiceUrl as more than one brokers in client.conf. maybe you can try to set one broker in webServiceUrl.
Best regard