请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

第二天,kafka自动停止

[2021-06-03 00:00:40,478] INFO Terminating process due to signal SIGHUP (org.apache.kafka.common.utils.LoggingSignalHandler)
[2021-06-03 00:00:40,480] INFO [KafkaServer id=0] shutting down (kafka.server.KafkaServer)
[2021-06-03 00:00:40,487] INFO [KafkaServer id=0] Starting controlled shutdown (kafka.server.KafkaServer)
[2021-06-03 00:00:40,515] INFO [KafkaServer id=0] Controlled shutdown succeeded (kafka.server.KafkaServer)
[2021-06-03 00:00:40,519] INFO [/config/changes-event-process-thread]: Shutting down (kafka.common.ZkNodeChangeNotificationListenerChangeEventProcessThread)[2021−06−0300:00:40,521]INFO[/config/changes−event−process−thread]:Stopped(kafka.common.ZkNodeChangeNotificationListenerChangeEventProcessThread) [2021-06-03 00:00:40,521] INFO [/config/changes-event-process-thread]: Stopped (kafka.common.ZkNodeChangeNotificationListenerChangeEventProcessThread)[2021060300:00:40,521]INFO[/config/changeseventprocessthread]:Stopped(kafka.common.ZkNodeChangeNotificationListenerChangeEventProcessThread)
[2021-06-03 00:00:40,521] INFO [/config/changes-event-process-thread]: Shutdown completed (kafka.common.ZkNodeChangeNotificationListenerChangeEventProcessThread)[2021−06−0300:00:40,522]INFO[SocketServerbrokerId=0]Stoppingsocketserverrequestprocessors(kafka.network.SocketServer)[2021−06−0300:00:40,532]INFO[SocketServerbrokerId=0]Stoppedsocketserverrequestprocessors(kafka.network.SocketServer)[2021−06−0300:00:40,535]INFO[data−planeKafkaRequestHandleronBroker0],shuttingdown(kafka.server.KafkaRequestHandlerPool)[2021−06−0300:00:40,537]INFO[data−planeKafkaRequestHandleronBroker0],shutdowncompletely(kafka.server.KafkaRequestHandlerPool)[2021−06−0300:00:40,540]INFO[ExpirationReaper−0−AlterAcls]:Shuttingdown(kafka.server.DelayedOperationPurgatoryChangeEventProcessThread) [2021-06-03 00:00:40,522] INFO [SocketServer brokerId=0] Stopping socket server request processors (kafka.network.SocketServer) [2021-06-03 00:00:40,532] INFO [SocketServer brokerId=0] Stopped socket server request processors (kafka.network.SocketServer) [2021-06-03 00:00:40,535] INFO [data-plane Kafka Request Handler on Broker 0], shutting down (kafka.server.KafkaRequestHandlerPool) [2021-06-03 00:00:40,537] INFO [data-plane Kafka Request Handler on Broker 0], shut down completely (kafka.server.KafkaRequestHandlerPool) [2021-06-03 00:00:40,540] INFO [ExpirationReaper-0-AlterAcls]: Shutting down (kafka.server.DelayedOperationPurgatoryChangeEventProcessThread)[2021060300:00:40,522]INFO[SocketServerbrokerId=0]Stoppingsocketserverrequestprocessors(kafka.network.SocketServer)[2021060300:00:40,532]INFO[SocketServerbrokerId=0]Stoppedsocketserverrequestprocessors(kafka.network.SocketServer)[2021060300:00:40,535]INFO[dataplaneKafkaRequestHandleronBroker0],shuttingdown(kafka.server.KafkaRequestHandlerPool)[2021060300:00:40,537]INFO[dataplaneKafkaRequestHandleronBroker0],shutdowncompletely(kafka.server.KafkaRequestHandlerPool)[2021060300:00:40,540]INFO[ExpirationReaper0AlterAcls]:Shuttingdown(kafka.server.DelayedOperationPurgatoryExpiredOperationReaper)
[2021-06-03 00:00:40,664] INFO [ExpirationReaper-0-AlterAcls]: Stopped (kafka.server.DelayedOperationPurgatoryExpiredOperationReaper)[2021−06−0300:00:40,664]INFO[ExpirationReaper−0−AlterAcls]:Shutdowncompleted(kafka.server.DelayedOperationPurgatoryExpiredOperationReaper) [2021-06-03 00:00:40,664] INFO [ExpirationReaper-0-AlterAcls]: Shutdown completed (kafka.server.DelayedOperationPurgatoryExpiredOperationReaper)[2021060300:00:40,664]INFO[ExpirationReaper0AlterAcls]:Shutdowncompleted(kafka.server.DelayedOperationPurgatoryExpiredOperationReaper)
[2021-06-03 00:00:40,665] INFO [KafkaApi-0] Shutdown complete. (kafka.server.KafkaApis)
[2021-06-03 00:00:40,666] INFO [ExpirationReaper-0-topic]: Shutting down (kafka.server.DelayedOperationPurgatoryExpiredOperationReaper)[2021−06−0300:00:40,839]INFO[ExpirationReaper−0−topic]:Stopped(kafka.server.DelayedOperationPurgatoryExpiredOperationReaper) [2021-06-03 00:00:40,839] INFO [ExpirationReaper-0-topic]: Stopped (kafka.server.DelayedOperationPurgatoryExpiredOperationReaper)[2021060300:00:40,839]INFO[ExpirationReaper0topic]:Stopped(kafka.server.DelayedOperationPurgatoryExpiredOperationReaper)
[2021-06-03 00:00:40,839] INFO [ExpirationReaper-0-topic]: Shutdown completed (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper)
[2021-06-03 00:00:40,841] INFO [TransactionCoordinator id=0] Shutting down. (kafka.coordinator.transaction.TransactionCoordinator)
[2021-06-03 00:00:40,842] INFO [ProducerId Manager 0]: Shutdown complete: last producerId assigned 3000 (kafka.coordinator.transaction.ProducerIdManager)
[2021-06-03 00:00:40,842] INFO [Transaction State Manager 0]: Shutdown complete

正在回答 回答被采纳积分+3

1回答

Allen 2021-06-04 09:20:55

是启动就之后就停止,还是过一段时间才停止

0 回复 有任何疑惑可以回复我~
  • 提问者 恶汉模式 #1
    启动命令是这个
    bin/kafka-server-start.sh config/server.properties &
    后面改成
    nohup bin/kafka-server-start.sh config/server.properties &
    就好啦
    回复 有任何疑惑可以回复我~ 2021-06-04 09:47:19
  • Allen 回复 提问者 恶汉模式 #2
    就是没做后台挂起呗
    回复 有任何疑惑可以回复我~ 2021-06-07 11:13:33
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信