Skip to content

task 分布在不同 agent,mysql.extractor: publish timeout, got nats: timeout #452

@Near-Zhang

Description

@Near-Zhang

src Task 和 dest Task 分别分配在两个不同的 agent,agent 之间通过外网可以互相 telnet 通 8193 端口,但是一直报错 nats 相关

agent 配置

data_dir = "/usr/local/dtle/data"

bind_addr = "0.0.0.0"

log_level = "DEBUG"

log_file = "/usr/local/dtle/logs/dtle.log"

# Modify our port to avoid a collision with server
ports {
    http = 8190
    rpc = 8191
    serf = 8192
    nats = 8193
}

# Enable the manager
manager {
    enabled = false
    bootstrap_expect = 3
    # Self-elect, should be 3 or 5 for production,
    # Addresses to attempt to join when the server starts.
    #join = ["10.29.67.236"]
}

# Enable the agent
agent {
    enabled = true
    managers = ["119.23.151.150", "47.100.167.118", "47.102.196.3"]
}

advertise {
    http = "47.102.218.202"
    rpc = "47.102.218.202"
    serf = "47.102.218.202"
    nats = "0.0.0.0"
}

错误日志

2019/05/29 11:04:31.263755 [DEBUG] [jobid:baa8a459-0839-11ad-fafa-7efea66b6577] mysql.extractor: publish timeout, got nats: timeout
2019/05/29 11:04:31.263829 [DEBUG] [jobid:baa8a459-0839-11ad-fafa-7efea66b6577] mysql.extractor: publish. gtid: , msg_len: 898

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions