This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run the linter on changed files: | |
#linter=./tools/clang-format | |
#linter=./bazel-out/k8-fastbuild/bin/external/toolchains_llvm++llvm+llvm_18_toolchain/clang-format | |
linter=./bazel-out/k8-fastbuild/bin/external/toolchains_llvm++llvm+current_llvm_toolchain/clang-format | |
#linter=./bazel-out/k8-fastbuild/bin/external/toolchains_llvm++llvm+previous_llvm_toolchain/clang-format | |
if [ ! -f "$linter" ]; then | |
echo "Linter not found at $linter" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start AK 4.0.0 with KAFKA_AUTO_CREATE_TOPICS_ENABLE: "true" | |
# Create a topic | |
% rpk topic create metadata_autocreate_query | |
TOPIC STATUS | |
metadata_autocreate_query OK | |
# Get the topic ID of the created topic | |
% echo '{ | |
"Version": 12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% echo '{ | |
"Version": 12, | |
"AllowAutoTopicCreation": true, | |
"IncludeClusterAuthorizedOperations": false, | |
"IncludeTopicAuthorizedOperations": false, | |
"Topics": [{"Topic": "does-not-exist"}, {"TopicID": [ | |
143, | |
47, | |
236, | |
130, |