Permalink
Browse files

Use _zoieSystemMap.keySet instead as the _dataCollectorMap is not pop…

…ulated yet.
  • Loading branch information...
1 parent ca06332 commit a003eeb0f3522d870ec6b22ee768262af70844f0 Terence Yim committed Jul 24, 2012
@@ -151,7 +151,7 @@ public void initialize(
StreamDataProvider<JSONObject> dataProvider = null;
if (_gateway!=null){
try{
- dataProvider = _gateway.buildDataProvider(_senseiSchema, _oldestSinceKey, pluginRegistry,_shardingStrategy,_dataCollectorMap.keySet());
+ dataProvider = _gateway.buildDataProvider(_senseiSchema, _oldestSinceKey, pluginRegistry,_shardingStrategy,_zoieSystemMap.keySet());
long maxEventsPerMin = _myconfig.getLong(EVTS_PER_MIN,40000);
dataProvider.setMaxEventsPerMinute(maxEventsPerMin);
int batchSize = _myconfig.getInt(BATCH_SIZE,1);

0 comments on commit a003eeb

Please sign in to comment.