add db and topic interfaces