zhongjiajie commented on issue #74:
URL:
https://github.com/apache/dolphinscheduler-sdk-python/issues/74#issuecomment-1444983868
Hi @piscesvivian , not the same. java gateway token is in
`application.yaml` in `api-server` your can find it under node `python-gateway`
```yaml
python-gateway:
# Weather enable python gateway server or not. The default value is true.
enabled: true
# Authentication token for connection from python api to python gateway
server. Should be changed the default value
# when you deploy in public network.
auth-token: jwUDzpLsNKEFER4*a8gruBH_GsAurNxU7A@Xc
# The address of Python gateway server start. Set its value to `0.0.0.0`
if your Python API run in different
# between Python gateway server. It could be be specific to other address
like `127.0.0.1` or `localhost`
gateway-server-address: 0.0.0.0
# The port of Python gateway server start. Define which port you could
connect to Python gateway server from
# Python API side.
gateway-server-port: 25333
# The address of Python callback client.
python-address: 127.0.0.1
# The port of Python callback client.
python-port: 25334
# Close connection of socket server if no other request accept after x
milliseconds. Define value is (0 = infinite),
# and socket server would never close even though no requests accept
connect-timeout: 0
# Close each active connection of socket server if python program not
active after x milliseconds. Define value is
# (0 = infinite), and socket server would never close even though no
requests accept
read-timeout: 0
```
--
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]