Archived

This forum has been archived. Please start a new discussion on GitHub.

void link(Topic* linkTo, int cost) ,what is the cost

idempotent void link(Topic* linkTo, int cost)

what is cost parameter is used for? No documents write for it.

Comments

  • Can config Topic links at Icestorm config file?

    We can add topic links at client programmatically.
    And then ,can we config topic links at server side,eg: Ice storm config files?
  • matthew
    matthew NL, Canada
    sgsoft wrote: »
    idempotent void link(Topic* linkTo, int cost)

    what is cost parameter is used for? No documents write for it.

    See 44.9.2 at Topic Federation
    We can add topic links at client programmatically.
    And then ,can we config topic links at server side,eg: Ice storm config files?

    No, the reason being is that typically the topic links are configured at software installation time.
  • matthew wrote: »
    No, the reason being is that typically the topic links are configured at software installation time.

    I think this feature is valuable.
    Consider the following situation:
    The lan1: 192.168.0.1~192.168.0.N
    The lan2: 192.168.1.1~192.168.1.N
    The lan3: 192.168.2.1~192.168.2.N

    Some clients and a icestorm server is running on lan1 and lan2, a special ice storm is running on lan3,all lan1 and lan2 publishers's message will be gathered by the server on lan3.
    Consider the issue of a firewall,on lan1 or lan2 ,only the storm server can connect to the special server on lan3.
    This requiment is common in multi-level networks environment.
  • matthew
    matthew NL, Canada
    sgsoft wrote: »
    I think this feature is valuable.

    What feature?
  • matthew wrote: »
    What feature?

    Allow config Ice Storm Topic Links at server side,via command dynamically or via config file statically.