Break TopicContainer into SharedTopicContainer and ThreadLocalTopicContainer.