We need to use docker-machine to handle USB ports inside the docker.
- Install docker-machine: https://docs.docker.com/machine/install-machine/
- Docker version: 18.09.2, build 6247962
- Install virtualbox >= 6.0
We need to use docker-machine to handle USB ports inside the docker.
#!/bin/bash | |
# Author: Kel Graham | |
# Date: 2022-05-19 | |
# Purpose: Increase the replication factor of one or more topics, using only | |
# a connection to the Kafka broker (no Zookeeper, REST APIs etc) | |
# and the standard kafka-topics, kafka-reassign-partitions scripts | |
# that come with Kafka. | |
# |
cmake_minimum_required(VERSION 3.5) | |
project(example LANGUAGES CXX) | |
set(CMAKE_CXX_STANDARD 11) | |
set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
find_package(GTest REQUIRED) | |
include_directories(${GTEST_INCLUDE_DIRS}) |