Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
apollo-99-trunk-20130221.165856-207
Description
I'm trying to define a dsub with wildcard subscription in apollo.xml and it seems that the topic consumers are not always created.
Here is what I have in apollo.xml:
<topic id="foo.1"/>
<topic id="foo.2"/>
<dsub id="bar" topic="foo.*"/>
If I stop Apollo, destroy its data directory and start it again, the consumers are created. Via the REST API I see on each topic:
{
'config' =>
'dsubs' => [
'bar'
],
'id' => 'foo.1',
'metrics' => {
'consumer_count' => 1,
[...]
}
So far so good.
If I restart Apollo (service apollo restart), the dsub consumer does not appear anymore:
{
'config' => { 'id' => 'foo.1', 'other' => [] }
,
'dsubs' => [],
'id' => 'foo.1',
'metrics' => {
'consumer_count' => 0,
[...]
}
This looks like a conflict between apollo.xml and what the store knows about dsubs...