我server-1.properties更改了端口、日志和代理 ID,但是当我启动它时,server-1它会抛出
KafkaException:套接字服务器无法绑定到 0.0.0.0:9092:地址已在使用中。
日志中我看到其他属性已更改,但端口已更改9092
这是server-1.properties文件:
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of …Run Code Online (Sandbox Code Playgroud) apache-kafka ×1