Added support for publishing to short and pre-defined topic ids