在 wso2 api manager 3.2.0 的工作端口和 Thrift SSL 端口上使用二进制 SSL 传输的位置

Where to use Binary SSL Transport on port and Thrift SSL port of worker in wso2 api manager 3.2.0

在 wso2 api 管理器中,当我 运行 工人时,有一些启用的端口如下:

 - Started Binary SSL Transport on port : 9712
 - Started Binary TCP Transport on port : 9612
 - Service Component is activated
 - Thrift Server started at 0.0.0.0
 - Thrift SSL port : 7712
 - Thrift port : 7612

我应该在 deployment.toml 的什么地方使用?

您可以在 <ANALYTICS_HOME>/conf/worker/deployment.yaml 文件的 databridge.config 部分的 dataReceivers 下查看数据接收器配置。

    # Data receiver configurations
    # THIS IS A MANDATORY FIELD
  dataReceivers:
  -
      # Data receiver configuration
    dataReceiver:
        # Data receiver type
        # THIS IS A MANDATORY FIELD
      type: Thrift
        # Data receiver properties
      properties:
        tcpPort: '7611'
        sslPort: '7711'

  -
      # Data receiver configuration
    dataReceiver:
        # Data receiver type
        # THIS IS A MANDATORY FIELD
      type: Binary
        # Data receiver properties
      properties:
        tcpPort: '9611'
        sslPort: '9711'
        tcpReceiverThreadPoolSize: '100'
        sslReceiverThreadPoolSize: '100'
        hostName: 0.0.0.0

在服务器日志中,端口偏移量为 1。这是因为,如果您查看 deployment.yaml 文件的顶部,可以看到端口偏移量设置为1.