Skip to content

Factor House Kpow#

Factor House Kpow is a web UI for Apache Kafka which can be used with Bufstream.

Get a license#

You'll need a license for the Community Edition or Enterprise Edition of Kpow. Head over to Factor House to get a community license, or get in touch with their team to discuss enterprise offerings.

Configuration#

Kpow is configured via environment variables. Setup for Bufstream is no different than any other Apache Kafka cluster. The following is an example of connecting to both Bufstream and the BSR:

# The address of your Bufstream instance
BOOTSTRAP=bufstream:9092

# SCHEMA_REGISTRY values only needed if you would like to connect to the Buf Schema Registry as well

# The URL for your instance of the Confluent Schema Registry within the Buf Schema Registry
SCHEMA_REGISTRY_URL=https://demo.buf.dev/integrations/confluent/bufstream-demo

# Not needed for demo.buf.dev.
SCHEMA_REGISTRY_AUTH=USER_INFO

# The username of the BSR bot user you use to authenticate.
# Not needed for demo.buf.dev.
SCHEMA_REGISTRY_USER=example-bot-user

# The token for the above BSR bot user.
# Not neede for demo.buf.dev.
SCHEMA_REGISTRY_PASSWORD=example-bot-token

### Your License Details
LICENSE_ID=<license-id>
LICENSE_CODE=<license-code>
LICENSEE=<licensee>
LICENSE_EXPIRY=<license-expiry>
LICENSE_SIGNATURE=<license-signature>

Use Kpow with a local Bufstream instance#

Save the following file as kpow.env (filling out the license information with your license):

BOOTSTRAP=host.docker.internal:9092
LICENSE_ID=<license-id>
LICENSE_CODE=<license-code>
LICENSEE=<licensee>
LICENSE_EXPIRY=<license-expiry>
LICENSE_SIGNATURE=<license-signature>

Start an in-memory Bufstream instance listening on the default Kafka port:

docker run -p 9092:9092 \
  --env BUFSTREAM_KAFKA_HOST=0.0.0.0 \
  --env BUFSTREAM_KAFKA_PUBLIC_HOST=host.docker.internal \
  --env BUFSTREAM_KAFKA_PUBLIC_PORT=9092 \
  bufbuild/bufstream:latest \
  serve --inmemory

In a separate terminal, start Kpow:

docker run -p 3000:3000 \
  --env-file kpow.env \
  factorhouse/kpow-ce:latest

Once both Bufstream and Kpow are running, navigate to localhost:3000 in your browser.