class KafkaProducerBeanFactoryPostProcessor implements BeanPostProcessor {

    @SuppressWarnings("rawtypes")
    @Override
    public Object postProcessAfterInitialization(Object bean, String beanName)
                                                                              throws BeansException {<FILL_FUNCTION_BODY>}
}

        if (bean instanceof ProducerFactory && !(bean instanceof SofaTracerKafkaProducerFactory)) {
            return new SofaTracerKafkaProducerFactory((ProducerFactory) bean);
        }
        return bean;
    
<no_super_class>