zqy518518 2022-05-15 21:27 采纳率: 62.5%
浏览 27
已结题

在win10启动kafka报错

问题遇到的现象和发生背景

已经启动zookeeper

问题相关代码,请勿粘贴截图

```bash
D:\ideaworks\kafka_2.11-0.11.0.2>.\bin\windows\kafka-server-start.bat .\config\server.properties
[2022-05-15 20:48:47,933] INFO KafkaConfig values:
        advertised.host.name = null
        advertised.listeners = null
        advertised.port = null
        alter.config.policy.class.name = null
        authorizer.class.name =
        auto.create.topics.enable = true
        auto.leader.rebalance.enable = true
        background.threads = 10
        broker.id = 0
        broker.id.generation.enable = true
        broker.rack = null
        compression.type = producer
        connections.max.idle.ms = 600000
        controlled.shutdown.enable = true
        controlled.shutdown.max.retries = 3
        controlled.shutdown.retry.backoff.ms = 5000
        controller.socket.timeout.ms = 30000
        create.topic.policy.class.name = null
        default.replication.factor = 1
        delete.records.purgatory.purge.interval.requests = 1
        delete.topic.enable = false
        fetch.purgatory.purge.interval.requests = 1000
        group.initial.rebalance.delay.ms = 0
        group.max.session.timeout.ms = 300000
        group.min.session.timeout.ms = 6000
        host.name =
        inter.broker.listener.name = null
        inter.broker.protocol.version = 0.11.0-IV2
        leader.imbalance.check.interval.seconds = 300
        leader.imbalance.per.broker.percentage = 10
        listener.security.protocol.map = SSL:SSL,SASL_PLAINTEXT:SASL_PLAINTEXT,TRACE:TRACE,SASL_SSL:SASL_SSL,PLAINTEXT:PLAINTEXT
        listeners = null
        log.cleaner.backoff.ms = 15000
        log.cleaner.dedupe.buffer.size = 134217728
        log.cleaner.delete.retention.ms = 86400000
        log.cleaner.enable = true
        log.cleaner.io.buffer.load.factor = 0.9
        log.cleaner.io.buffer.size = 524288
        log.cleaner.io.max.bytes.per.second = 1.7976931348623157E308
        log.cleaner.min.cleanable.ratio = 0.5
        log.cleaner.min.compaction.lag.ms = 0
        log.cleaner.threads = 1
        log.cleanup.policy = [delete]
        log.dir = /tmp/kafka-logs
        log.dirs = D:ideaworkskafka_2.11-0.11.0.2logs
        log.flush.interval.messages = 9223372036854775807
        log.flush.interval.ms = null
        log.flush.offset.checkpoint.interval.ms = 60000
        log.flush.scheduler.interval.ms = 9223372036854775807
        log.flush.start.offset.checkpoint.interval.ms = 60000
        log.index.interval.bytes = 4096
        log.index.size.max.bytes = 10485760
        log.message.format.version = 0.11.0-IV2
        log.message.timestamp.difference.max.ms = 9223372036854775807
        log.message.timestamp.type = CreateTime
        log.preallocate = false
        log.retention.bytes = -1
        log.retention.check.interval.ms = 300000
        log.retention.hours = 168
        log.retention.minutes = null
        log.retention.ms = null
        log.roll.hours = 168
        log.roll.jitter.hours = 0
        log.roll.jitter.ms = null
        log.roll.ms = null
        log.segment.bytes = 1073741824
        log.segment.delete.delay.ms = 60000
        max.connections.per.ip = 2147483647
        max.connections.per.ip.overrides =
        message.max.bytes = 1000012
        metric.reporters = []
        metrics.num.samples = 2
        metrics.recording.level = INFO
        metrics.sample.window.ms = 30000
        min.insync.replicas = 1
        num.io.threads = 8
        num.network.threads = 3
        num.partitions = 1
        num.recovery.threads.per.data.dir = 1
        num.replica.fetchers = 1
        offset.metadata.max.bytes = 4096
        offsets.commit.required.acks = -1
        offsets.commit.timeout.ms = 5000
        offsets.load.buffer.size = 5242880
        offsets.retention.check.interval.ms = 600000
        offsets.retention.minutes = 1440
        offsets.topic.compression.codec = 0
        offsets.topic.num.partitions = 50
        offsets.topic.replication.factor = 1
        offsets.topic.segment.bytes = 104857600
        port = 9092
        principal.builder.class = class org.apache.kafka.common.security.auth.DefaultPrincipalBuilder
        producer.purgatory.purge.interval.requests = 1000
        queued.max.requests = 500
        quota.consumer.default = 9223372036854775807
        quota.producer.default = 9223372036854775807
        quota.window.num = 11
        quota.window.size.seconds = 1
        replica.fetch.backoff.ms = 1000
        replica.fetch.max.bytes = 1048576
        replica.fetch.min.bytes = 1
        replica.fetch.response.max.bytes = 10485760
        replica.fetch.wait.max.ms = 500
        replica.high.watermark.checkpoint.interval.ms = 5000
        replica.lag.time.max.ms = 10000
        replica.socket.receive.buffer.bytes = 65536
        replica.socket.timeout.ms = 30000
        replication.quota.window.num = 11
        replication.quota.window.size.seconds = 1
        request.timeout.ms = 30000
        reserved.broker.max.id = 1000
        sasl.enabled.mechanisms = [GSSAPI]
        sasl.kerberos.kinit.cmd = /usr/bin/kinit
        sasl.kerberos.min.time.before.relogin = 60000
        sasl.kerberos.principal.to.local.rules = [DEFAULT]
        sasl.kerberos.service.name = null
        sasl.kerberos.ticket.renew.jitter = 0.05
        sasl.kerberos.ticket.renew.window.factor = 0.8
        sasl.mechanism.inter.broker.protocol = GSSAPI
        security.inter.broker.protocol = PLAINTEXT
        socket.receive.buffer.bytes = 102400
        socket.request.max.bytes = 104857600
        socket.send.buffer.bytes = 102400
        ssl.cipher.suites = null
        ssl.client.auth = none
        ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
        ssl.endpoint.identification.algorithm = null
        ssl.key.password = null
        ssl.keymanager.algorithm = SunX509
        ssl.keystore.location = null
        ssl.keystore.password = null
        ssl.keystore.type = JKS
        ssl.protocol = TLS
        ssl.provider = null
        ssl.secure.random.implementation = null
        ssl.trustmanager.algorithm = PKIX
        ssl.truststore.location = null
        ssl.truststore.password = null
        ssl.truststore.type = JKS
        transaction.abort.timed.out.transaction.cleanup.interval.ms = 60000
        transaction.max.timeout.ms = 900000
        transaction.remove.expired.transaction.cleanup.interval.ms = 3600000
        transaction.state.log.load.buffer.size = 5242880
        transaction.state.log.min.isr = 1
        transaction.state.log.num.partitions = 50
        transaction.state.log.replication.factor = 1
        transaction.state.log.segment.bytes = 104857600
        transactional.id.expiration.ms = 604800000
        unclean.leader.election.enable = false
        zookeeper.connect = localhost:2181
        zookeeper.connection.timeout.ms = 6000
        zookeeper.session.timeout.ms = 6000
        zookeeper.set.acl = false
        zookeeper.sync.time.ms = 2000
 (kafka.server.KafkaConfig)
[2022-05-15 20:48:48,179] INFO starting (kafka.server.KafkaServer)
[2022-05-15 20:48:48,200] INFO Connecting to zookeeper on localhost:2181 (kafka.server.KafkaServer)
[2022-05-15 20:48:48,228] INFO Starting ZkClient event thread. (org.I0Itec.zkclient.ZkEventThread)
[2022-05-15 20:48:48,239] INFO Client environment:zookeeper.version=3.4.10-39d3a4f269333c922ed3db283be479f9deacaa0f, built on 03/23/2017 10:13 GMT (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,239] INFO Client environment:host.name=DESKTOP-IP8DTDA (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,241] INFO Client environment:java.version=1.8.0_191 (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,242] INFO Client environment:java.vendor=Oracle Corporation (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,247] INFO Client environment:java.home=C:\Java\jdk1.8.0_191\jre (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,249] INFO Client environment:java.class.path=.;C:\Java\jdk1.8.0_191\lib\dt.jar;C:\Java\jdk1.8.0_191\lib\tools.jar;.;D:\ideaworks\scalin;D:\ideaworks\scalalibdt.jar;D:\ideaworks\scala\lib\tools.jar;;D:\ideaworks\kafka_2.11-0.11.0.2\libs\aopalliance-repackaged-2.5.0-b05.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\argparse4j-0.7.0.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\commons-lang3-3.5.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\connect-api-0.11.0.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\connect-file-0.11.0.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\connect-json-0.11.0.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\connect-runtime-0.11.0.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\connect-transforms-0.11.0.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\guava-20.0.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\hk2-api-2.5.0-b05.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\hk2-locator-2.5.0-b05.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\hk2-utils-2.5.0-b05.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jackson-annotations-2.8.5.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jackson-core-2.8.5.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jackson-databind-2.8.5.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jackson-jaxrs-base-2.8.5.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jackson-jaxrs-json-provider-2.8.5.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jackson-module-jaxb-annotations-2.8.5.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\javassist-3.21.0-GA.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\javax.annotation-api-1.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\javax.inject-1.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\javax.inject-2.5.0-b05.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\javax.servlet-api-3.1.0.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\javax.ws.rs-api-2.0.1.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jersey-client-2.24.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jersey-common-2.24.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jersey-container-servlet-2.24.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jersey-container-servlet-core-2.24.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jersey-guava-2.24.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jersey-media-jaxb-2.24.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jersey-server-2.24.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jetty-continuation-9.2.22.v20170606.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jetty-http-9.2.22.v20170606.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jetty-io-9.2.22.v20170606.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jetty-security-9.2.22.v20170606.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jetty-server-9.2.22.v20170606.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jetty-servlet-9.2.22.v20170606.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jetty-servlets-9.2.22.v20170606.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jetty-util-9.2.22.v20170606.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\jopt-simple-5.0.3.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka-clients-0.11.0.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka-log4j-appender-0.11.0.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka-streams-0.11.0.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka-streams-examples-0.11.0.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka-tools-0.11.0.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2-javadoc.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2-javadoc.jar.asc;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2-scaladoc.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2-scaladoc.jar.asc;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2-sources.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2-sources.jar.asc;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2-test-sources.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2-test-sources.jar.asc;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2-test.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2-test.jar.asc;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\kafka_2.11-0.11.0.2.jar.asc;D:\ideaworks\kafka_2.11-0.11.0.2\libs\log4j-1.2.17.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\lz4-1.3.0.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\maven-artifact-3.5.0.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\metrics-core-2.2.0.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\osgi-resource-locator-1.0.1.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\plexus-utils-3.0.24.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\reflections-0.9.11.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\rocksdbjni-5.0.1.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\scala-library-2.11.11.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\scala-parser-combinators_2.11-1.0.4.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\slf4j-api-1.7.25.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\slf4j-log4j12-1.7.25.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\snappy-java-1.1.2.6.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\validation-api-1.1.0.Final.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\zkclient-0.10.jar;D:\ideaworks\kafka_2.11-0.11.0.2\libs\zookeeper-3.4.10.jar (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,258] INFO Client environment:java.library.path=C:\Java\jdk1.8.0_191\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\system32;D:\Anaconda3;D:\Anaconda3\Library\mingw-w64\bin;D:\Anaconda3\Library\usr\bin;D:\Anaconda3\Library\bin;D:\Anaconda3\Scripts;C:\Java\jdk1.8.0_191\bin;C:\Java\jdk1.8.0_191\jre\bin;C:\Java\jdk1.8.0_191\bin;C:\Java\jdk1.8.0_191\jre\bin;C:\Program Files\apache-tomcat-10.0.10\bin;C:\Program Files\apache-tomcat-10.0.10;F:\vm\bin;C:\WINDOWS\system32\wbem;C:\Users\asus\Git\cmd;C:\Users\asus\Git\bin;D:\ideaworks\hadoop-2.7.6\bin;D:\ideaworks\hadoop-2.7.6\sbin;D:\ideaworks\hadoop-2.7.6/bin;D:\ideaworks\hadoop-2.7.6/sbin;D:\ideaworks\spark-2.3.0-bin-hadoop2.7\bin;D:\ideaworks\scala\bin;D:\ideaworks\scala\bin;D:\ideaworks\scala\jre\bin;D:\ideaworks\spark-2.3.0-bin-hadoop2.7\bin;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32;D:\ideaworks\apache-hive-2.3.0-bin\bin;D:\ideaworks\apache-hive-2.3.0-bin\bin;C:\ProgramData\chocolatey\bin;D:\nodejs\;F:\maven\apache-maven-3.8.1-bin\apache-maven-3.8.1\bin;D:\mysql\mysql-5.7.16-winx64\bin;D:\mysql\mysql-8.0.27-winx64\bin;D:\ideaworks\apache-flume-1.7.0-bin\conf;D:\ideaworks\apache-flume-1.7.0-bin\bin;C:\Users\asus\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\asus\AppData\Local\Programs\Python\Python37\;C:\Users\asus\AppData\Local\Microsoft\WindowsApps;F:\JetBrains\IntelliJ IDEA Community Edition 2021.2.2\bin;D:\nodejs\node_global;. (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,265] INFO Client environment:java.io.tmpdir=C:\Users\asus\AppData\Local\Temp\ (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,267] INFO Client environment:java.compiler=<NA> (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,268] INFO Client environment:os.name=Windows 10 (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,270] INFO Client environment:os.arch=amd64 (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,272] INFO Client environment:os.version=10.0 (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,273] INFO Client environment:user.name=asus (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,276] INFO Client environment:user.home=C:\Users\asus (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,280] INFO Client environment:user.dir=D:\ideaworks\kafka_2.11-0.11.0.2 (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,281] INFO Initiating client connection, connectString=localhost:2181 sessionTimeout=6000 watcher=org.I0Itec.zkclient.ZkClient@6dc17b83 (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:48,310] INFO Waiting for keeper state SyncConnected (org.I0Itec.zkclient.ZkClient)
[2022-05-15 20:48:48,315] INFO Opening socket connection to server 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn)
[2022-05-15 20:48:48,317] INFO Socket connection established to 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:2181, initiating session (org.apache.zookeeper.ClientCnxn)
[2022-05-15 20:48:48,434] INFO Session establishment complete on server 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:2181, sessionid = 0x180c7c1d4290000, negotiated timeout = 6000 (org.apache.zookeeper.ClientCnxn)
[2022-05-15 20:48:48,437] INFO zookeeper state changed (SyncConnected) (org.I0Itec.zkclient.ZkClient)
[2022-05-15 20:48:48,721] INFO Cluster ID = yI_9UxlIQoubzKH6y-gDTQ (kafka.server.KafkaServer)
[2022-05-15 20:48:48,789] INFO [ThrottledRequestReaper-Fetch]: Starting (kafka.server.ClientQuotaManager$ThrottledRequestReaper)
[2022-05-15 20:48:48,791] INFO [ThrottledRequestReaper-Produce]: Starting (kafka.server.ClientQuotaManager$ThrottledRequestReaper)
[2022-05-15 20:48:48,791] INFO [ThrottledRequestReaper-Request]: Starting (kafka.server.ClientQuotaManager$ThrottledRequestReaper)
[2022-05-15 20:48:48,973] INFO Loading logs. (kafka.log.LogManager)
[2022-05-15 20:48:49,202] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\movie_real_topic-0\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\movie_real_topic-0\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\movie_real_topic-0\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\movie_real_topic-0\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,206] ERROR There was an error in one of the threads during logs loading: java.nio.file.FileSystemException: D:ideaworkskafka_2.11-0.11.0.2logs\movie_real_topic-0\00000000000000000000.timeindex: 另一个程序正在使用此文件 ,进程无法访问。
 (kafka.log.LogManager)
[2022-05-15 20:48:49,210] FATAL [Kafka Server 0], Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
java.nio.file.FileSystemException: D:ideaworkskafka_2.11-0.11.0.2logs\movie_real_topic-0\00000000000000000000.timeindex: 另一个程序正在使用此文件,进程无法访问。

        at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
        at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
        at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
        at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
        at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
        at java.nio.file.Files.deleteIfExists(Files.java:1165)
        at kafka.log.Log$$anonfun$loadSegmentFiles$3.apply(Log.scala:318)
        at kafka.log.Log$$anonfun$loadSegmentFiles$3.apply(Log.scala:279)
        at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:733)
        at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
        at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
        at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:732)
        at kafka.log.Log.loadSegmentFiles(Log.scala:279)
        at kafka.log.Log.loadSegments(Log.scala:383)
        at kafka.log.Log.<init>(Log.scala:186)
        at kafka.log.Log$.apply(Log.scala:1609)
        at kafka.log.LogManager$$anonfun$loadLogs$2$$anonfun$5$$anonfun$apply$12$$anonfun$apply$1.apply$mcV$sp(LogManager.scala:172)
        at kafka.utils.CoreUtils$$anon$1.run(CoreUtils.scala:57)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
[2022-05-15 20:48:49,242] INFO [Kafka Server 0], shutting down (kafka.server.KafkaServer)
[2022-05-15 20:48:49,224] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-0\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-0\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-0\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-0\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,269] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-1\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-1\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-1\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-1\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,279] INFO Terminate ZkClient event thread. (org.I0Itec.zkclient.ZkEventThread)
[2022-05-15 20:48:49,287] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-10\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-10\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-10\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-10\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,319] INFO Session: 0x180c7c1d4290000 closed (org.apache.zookeeper.ZooKeeper)
[2022-05-15 20:48:49,329] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-11\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-11\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-11\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-11\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,329] INFO EventThread shut down for session: 0x180c7c1d4290000 (org.apache.zookeeper.ClientCnxn)
[2022-05-15 20:48:49,343] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-12\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-12\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-12\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-12\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,364] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-13\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-13\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-13\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-13\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,380] INFO [Kafka Server 0], shut down completed (kafka.server.KafkaServer)
[2022-05-15 20:48:49,381] FATAL Exiting Kafka. (kafka.server.KafkaServerStartable)
[2022-05-15 20:48:49,394] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-14\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-14\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-14\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-14\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,406] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-15\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-15\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-15\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-15\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,424] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-16\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-16\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-16\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-16\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,442] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-17\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-17\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-17\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-17\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,469] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-18\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-18\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-18\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-18\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,491] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-19\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-19\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-19\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-19\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,499] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-2\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-2\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-2\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-2\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,514] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-20\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-20\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-20\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-20\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,528] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-21\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-21\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-21\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-21\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,540] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-22\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-22\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-22\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-22\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,557] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-23\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-23\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-23\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-23\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,564] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-24\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-24\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-24\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-24\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,570] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-25\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-25\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-25\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-25\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,580] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-26\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-26\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-26\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-26\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,590] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-27\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-27\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-27\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-27\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,606] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-28\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-28\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-28\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-28\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,616] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-29\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-29\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-29\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-29\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,627] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-3\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-3\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-3\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-3\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,633] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-30\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-30\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-30\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-30\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,647] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-31\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-31\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-31\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-31\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,669] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-32\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-32\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-32\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-32\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,681] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-33\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-33\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-33\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-33\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,692] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-34\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-34\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-34\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-34\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,697] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-35\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-35\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-35\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-35\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,707] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-36\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-36\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-36\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-36\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,717] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-37\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-37\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-37\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-37\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,728] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-38\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-38\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-38\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-38\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,735] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-39\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-39\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-39\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-39\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,753] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-4\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-4\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-4\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-4\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,762] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-40\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-40\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-40\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-40\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,768] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-41\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-41\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-41\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-41\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,779] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-42\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-42\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-42\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-42\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,789] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-43\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-43\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-43\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-43\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,795] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-44\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-44\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-44\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-44\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,805] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-45\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-45\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-45\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-45\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,818] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-46\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-46\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-46\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-46\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,827] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-47\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-47\00000000000000000000.timeindex, D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-47\00000000000000000000.index, and D:\ideaworks\kafka_2.11-0.11.0.2\ideaworkskafka_2.11-0.11.0.2logs\__consumer_offsets-47\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
[2022-05-15 20:48:49,830] INFO [Kafka Server 0], shutting down (kafka.server.KafkaServer)

D:\ideaworks\kafka_2.11-0.11.0.2>
运行结果及报错内容
我的解答思路和尝试过的方法

请问一下报错原因

我想要达到的结果
  • 写回答

1条回答

      报告相同问题?

      相关推荐 更多相似问题

      问题事件

      • 系统已结题 5月24日
      • 已采纳回答 5月16日
      • 创建了问题 5月15日

      悬赏问题

      • ¥20 怎么将vs中的程序同步到sql中的表中
      • ¥15 用flask框架接收前端上传的文本文件后怎么读取该文件
      • ¥15 有没有嵌入式ubuntu的朋友
      • ¥50 diddler Burp Suite
      • ¥20 关于UE5.1的问题,求专家解答!
      • ¥30 关于#爬虫#的问题:百度为您找到相关结果约100,000,000个 但只展现70页 有没有可能提取出来全部的搜索结果
      • ¥40 IIS部署API,弄了几天没弄出来,希望带佬远程帮我弄一下,有偿
      • ¥15 关于#c##的问题:winform中利用delegate更新ui的顺序错误
      • ¥15 qt5.6.1读取oracle8中文数据乱码
      • ¥15 matlab支持向量机预测部分遇到了问题