private function mapTopic($topic)
    {
        if (array_key_exists($topic, self::TOPIC_TO_ID_ENUM)) {
            $result = self::TOPIC_TO_ID_ENUM[$topic];
            $this->logger->debug(sprintf('Topic "%s" has been mapped to "%s".', $topic, $result));
        } else {
            $result = $topic;
            $this->logger->debug(sprintf('Topic "%s" does not exist in enum.', $topic));
        }

        return $result;
    }