igalshilman opened a new pull request #74: [FLINK-16783] Add Python 
docker-compose based example
URL: https://github.com/apache/flink-statefun/pull/74
 
 
   This PR adds a docker-compose based greeter example, that is completely in 
Python.
   
   Copying the `README.md` content:
   
   # The Greeter Example
   
   This is a simple example that runs a simple stateful function that accepts 
requests from a Kafka ingress,
   and then responds by sending greeting responses to a Kafka egress. It 
demonstrates the primitive building blocks
   of a Stateful Functions applications, such as ingresses, handling state in 
functions,
   and sending messages to egresses.
   
   
   ## Building the example
   
   1) Make sure that you have built the Python distribution
      To build the distribution
       -  `cd statefun-python-sdk/`
       -  `./build-distribution.sh`
       
   2) Run `./build-example.sh` 
   
   ## Running the example
   
   To run the example:
   
   ```
   ./build-example.sh
   docker-compose up -d
   ```
   
   Then, to see the example in actions, see what comes out of the topic 
`greetings`:
   
   ```
   docker-compose logs -f event-generator 
   ```
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to