ResultSet rs = stmt.executeQuery(query);
while (rs.next()) {
String tableName = rs.getString(1);
// tableName = getActualTopicName(tableName);
LOG.debug("Fetching Topic information " + tableName);
ConfigDAO configDao = new ConfigDAOImpl();
DestinationConfig dc = configDao.createDestinationConfig(
tableName, Domain.TOPIC);
dc.setDurable(false);
dc.setName(tableName);
dc.setShortName(tableName);
String hostname = InetAddress.getLocalHost().getHostName();