Skip to content

Commit

Permalink
KAFKA-17987 Remove assorted ZK-related files (apache#17768)
Browse files Browse the repository at this point in the history
Remove zookeeper files in bin:
- bin/zookeeper-security-migration.sh
- bin/zookeeper-server-start.sh
- bin/zookeeper-server-stop.sh
- bin/zookeeper-shell.sh

Remove files used to configure Kafka in zookeeper mode in config:
- config/server.properties
- config/zookeeper.properties

Remove ZK references from all remaining Kafka configuration files.

Remove ZK references from all log4j.properties files.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
  • Loading branch information
cmccabe authored Nov 13, 2024
1 parent 9682e63 commit 085b27e
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 311 deletions.
17 changes: 0 additions & 17 deletions bin/zookeeper-security-migration.sh

This file was deleted.

44 changes: 0 additions & 44 deletions bin/zookeeper-server-start.sh

This file was deleted.

35 changes: 0 additions & 35 deletions bin/zookeeper-server-stop.sh

This file was deleted.

23 changes: 0 additions & 23 deletions bin/zookeeper-shell.sh

This file was deleted.

5 changes: 0 additions & 5 deletions config/kraft/broker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#
# This configuration file is intended for use in KRaft mode, where
# Apache ZooKeeper is not present.
#

############################# Server Basics #############################

# The role of this server. Setting this puts us in KRaft mode
Expand Down
5 changes: 0 additions & 5 deletions config/kraft/controller.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#
# This configuration file is intended for use in KRaft mode, where
# Apache ZooKeeper is not present.
#

############################# Server Basics #############################

# The role of this server. Setting this puts us in KRaft mode
Expand Down
5 changes: 0 additions & 5 deletions config/kraft/reconfig-server.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#
# This configuration file is intended for use in KRaft mode, where
# Apache ZooKeeper is not present.
#

############################# Server Basics #############################

# The role of this server. Setting this puts us in KRaft mode
Expand Down
5 changes: 0 additions & 5 deletions config/kraft/server.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#
# This configuration file is intended for use in KRaft mode, where
# Apache ZooKeeper is not present.
#

############################# Server Basics #############################

# The role of this server. Setting this puts us in KRaft mode
Expand Down
3 changes: 0 additions & 3 deletions config/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ log4j.appender.authorizerAppender.File=${kafka.logs.dir}/kafka-authorizer.log
log4j.appender.authorizerAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.authorizerAppender.layout.ConversionPattern=[%d] %p %m (%c)%n

# Change the line below to adjust ZK client logging
log4j.logger.org.apache.zookeeper=INFO

# Change the two lines below to adjust the general broker logging level (output to server.log and stdout)
log4j.logger.kafka=INFO
log4j.logger.org.apache.kafka=INFO
Expand Down
138 changes: 0 additions & 138 deletions config/server.properties

This file was deleted.

24 changes: 0 additions & 24 deletions config/zookeeper.properties

This file was deleted.

3 changes: 0 additions & 3 deletions core/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c:%L)%n

log4j.logger.kafka=WARN
log4j.logger.org.apache.kafka=WARN

# zkclient can be verbose, during debugging it is common to adjust it separately
log4j.logger.org.apache.zookeeper=WARN
1 change: 0 additions & 1 deletion group-coordinator/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c:%L)%n

log4j.logger.org.apache.kafka=DEBUG
log4j.logger.org.apache.zookeeper=WARN
1 change: 0 additions & 1 deletion metadata/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c:%L)%n

log4j.logger.org.apache.kafka=DEBUG
log4j.logger.org.apache.zookeeper=WARN
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c:%L)%n
log4j.logger.kafka=ERROR
log4j.logger.state.change.logger=ERROR
log4j.logger.org.apache.kafka=ERROR
log4j.logger.org.apache.zookeeper=ERROR
log4j.logger.org.apache.kafka.clients=ERROR

# These are the only logs we will likely ever find anything useful in to debug Streams test failures
Expand Down
1 change: 0 additions & 1 deletion streams/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c:%L)%n
log4j.logger.kafka=ERROR
log4j.logger.state.change.logger=ERROR
log4j.logger.org.apache.kafka=ERROR
log4j.logger.org.apache.zookeeper=ERROR
log4j.logger.org.apache.kafka.clients=ERROR

# These are the only logs we will likely ever find anything useful in to debug Streams test failures
Expand Down

0 comments on commit 085b27e

Please sign in to comment.