package Ġcom . google . sh iny ay . config Ċ Ċ import Ġorg . apache . kafka . clients . admin . New Topic Ċ import Ġorg . springframework . beans . factory . annotation . Value Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . kafka . config . Topic Builder ĊĊ Ċ @ Configuration Ċ class ĠKafka Topic Config Ġ{ ĊĊĠĠĠ Ġ@ Value ("\ ${ io . reflect oring . kafka . topic - 1 }") ĊĠĠĠ Ġprivate Ġval Ġtopic 1 : ĠString ? Ġ= Ġnull ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġtopic 1 (): ĠNew Topic ? Ġ= ĠTopic Builder . name ( topic 1 ). build () Ċ }