创建32个主题后,Kafka无法创建内部主题

时间:2018-07-04 07:50:49

标签: apache-kafka

我们有9个微服务,可在我建立新连接后创建32个主题(2一开始,30个内部)。 。用Kafka只能创建32个主题,是否有任何限制,或者我该如何解决?

谢谢您的时间。

Started SpringBootCounterMS in 4.652 seconds (JVM running for 7.59)
2018-07-04 10:39:29.513  INFO 14956 --- [-StreamThread-1] o.a.k.s.p.internals.StreamThread         : stream-thread [counter-service-3ca6bb7e-addd-445e-a22b-8b7be1b3b6c7-StreamThread-1] State transition from PARTITIONS_ASSIGNED to RUNNING
2018-07-04 10:39:29.514  INFO 14956 --- [-StreamThread-1] org.apache.kafka.streams.KafkaStreams    : stream-client [counter-service-3ca6bb7e-addd-445e-a22b-8b7be1b3b6c7]State transition from REBALANCING to RUNNING
2018-07-04 10:39:30.579  INFO 14956 --- [-StreamThread-1] o.a.k.c.c.internals.AbstractCoordinator  : [Consumer clientId=counter-service-3ca6bb7e-addd-445e-a22b-8b7be1b3b6c7-StreamThread-1-consumer, groupId=counter-service] Marking the coordinator localhost:9092 (id: 2147483647 rack: null) dead
2018-07-04 10:39:30.599  WARN 14956 --- [-StreamThread-2] o.a.k.s.p.i.InternalTopicManager         : stream-thread [main] Could not create internal topics: Empty response for client request. Retry #0

1 个答案:

答案 0 :(得分:0)

将JVM更新到64位可解决此问题。这是内存不足错误。