diff --git a/dataflow-website/recipes/polyglot/polyglot-python-processor/README.md b/dataflow-website/recipes/polyglot/polyglot-python-processor/README.md index c94e881..c194d86 100644 --- a/dataflow-website/recipes/polyglot/polyglot-python-processor/README.md +++ b/dataflow-website/recipes/polyglot/polyglot-python-processor/README.md @@ -52,7 +52,7 @@ INFO 1 --- [container-0-C-1] log-sink : hello wo Post and log a reversed string: ``` -dataflow:>stream create --name test --definition "http --server.port=32123 | python-processor --reverestring=true | log" +dataflow:>stream create --name test --definition "http --server.port=32123 | python-processor --reversestring=true | log" dataflow:>stream deploy test --properties "deployer.http.kubernetes.createNodePort=32123" dataflow:>http post --target http://192.168.99.104:32123 --data "hello world" > POST (text/plain) http://192.168.99.104:32123 hello world diff --git a/dataflow-website/recipes/polyglot/polyglot-python-processor/util/task_args.py b/dataflow-website/recipes/polyglot/polyglot-python-processor/util/task_args.py index d7acc20..b84b8ae 100644 --- a/dataflow-website/recipes/polyglot/polyglot-python-processor/util/task_args.py +++ b/dataflow-website/recipes/polyglot/polyglot-python-processor/util/task_args.py @@ -30,4 +30,4 @@ def get_output_channel(): return get_cmd_arg("spring.cloud.stream.bindings.output.destination") def get_reverse_string(): - return get_cmd_arg("reverestring") + return get_cmd_arg("reversestring")