This message was deleted.
# general
s
This message was deleted.
c
Not that I know of. They are triggered off of topics. I could envision creating an HttpSource that would feed into a topic that you are listening to. If you are trying to debug easier, then the Functions CLI has a “trigger” command. Another option is to use the “local run” function where you can run them locally for debugging. See https://pulsar.apache.org/docs/2.11.x/functions-debug-localrun/ for more info.
Interesting, I do see an HTTP sink https://pulsar.apache.org/docs/2.11.x/io-http-sink/#configuration but no HTTP source.
a
Hi Chris, Actually there is a pulsar built in connector called Netty. The example shows an HTTP post that inserts the body into a topic. My question is how does the HTTP GET works.
I guess I would have to create an http client that inserts into a topic and subscribes to another topic for the http response
Maybe some had made such a connector.
The Netty http sink sends a request out. Maybe I can use that with my client
Yes I will use localrun Thanks!!!
c
Sounds good Alex. Good to know about the Netty source. The way I see it working is that you setup the Netty source which will dump its request into a topic. That message can then be input to your Pulsar function.
Netty http -> topic -> Pulsar Function -> …
🙌 1