sangvhh commented on issue #8083:
URL: https://github.com/apache/apisix/issues/8083#issuecomment-1278464913

   > you need to do these two steps first.
   > 
   > First, create an instance of the pubsub module, which is provided in the 
core package. Then, an instance of the Apache Kafka client is created and 
omitted code here.
   > 
   > Next, add the command registered in the protocol definition above to the 
pubsub instance, which will provide a callback function that provides the 
parameters parsed from the communication protocol, in which the developer needs 
to call the kafka client to get the data and return it to the pubsub module as 
the function return value.
   How to create an instance of the pubsub module? I found related function in 
file **pubsub.lua**. Can I do it by APIs calling or source code editing?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to