在测试环境、预生产环境、线上环境都为未设置:
auto.create.topics.enable=true
但是测试和预生产能正常自动创建主题,
上生产环境后,报错:
2017-10-26 22:04:50.254 WARN [kafka-producer-network-thread | producer-1] org.apache.kafka.clients.NetworkClient - Error while fetching metadata with correlation id 273 : {TOPIC_INVITE_REWARD_QUEUE=UNKNOWN}
2017-10-26 22:04:50.357 WARN [kafka-producer-network-thread | producer-1] org.apache.kafka.common.protocol.Errors - Unexpected error code: 38.
注:预生产环境与线上环境kafka集群配置一样,除了机器本身硬件不一致
麻烦能给莪思路吗,为什么会这样.