IceStormAdmin.*

3 min read

3 min read

3 min read

3 min read

3 min read

3 min read

3 min read

3 min read

3 min read

IceStormAdmin.Host=host

Specifies the host of the IceStorm finder object that icestormadmin uses to discover the topic manager. This property requires IceStormAdmin.Port.

IceStormAdmin.Port=port

Specifies the port of the IceStorm finder object that icestormadmin uses to discover the topic manager, on the host specified by IceStormAdmin.Host.

IceStormAdmin.TopicManager.Default=proxy

Defines the proxy for the default IceStorm topic manager. This property is used by icestormadmin. If this property is not set, icestormadmin uses one of the IceStormAdmin.TopicManager.name proxies as its default.

IceStormAdmin.TopicManager.name=proxy

Defines a proxy for an IceStorm topic manager for icestormadmin. Properties with this pattern are used by icestormadmin if multiple topic managers are in use, for example:

Properties
IceStormAdmin.TopicManager.A=A/TopicManager:tcp -h x -p 9995
IceStormAdmin.TopicManager.B=Foo/TopicManager:tcp -h x -p 9995
IceStormAdmin.TopicManager.C=Bar/TopicManager:tcp -h x -p 9987

This sets the proxies for three topic managers. Note that name need not match the instance name of the corresponding topic manager — name simply serves as a tag. With these property settings, the icestormadmin commands that accept a topic can now specify a topic manager other than the default topic manager that is configured with IceStormAdmin.*#IceStormAdmin.TopicManager.Default. For example:

current Foo
create myTopic
create Bar/myOtherTopic

This sets the current topic manager to the one with instance name Foo; the first create command then creates the topic within that topic manager, whereas the second create command uses the topic manager with instance name Bar.