MCPcopy Index your code
hub / github.com/benthosdev/benthos-captain

github.com/benthosdev/benthos-captain @v0.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.0 ↗ · + Follow
32 symbols 90 edges 7 files 25 documented · 78% updated 2y agochart-0.0.1 · 2024-04-11★ 435 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Benthos Captain

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.

⚠️ This is a work in progress proof of concept ⚠️

Benthos Captain is a Kubernetes Operator to orchestrate Benthos pipelines.

Getting Started

Currently, there isn't a stable release of the operator. If you want to install the operator for development purposes, you can follow the developer guide.

The operator provides a custom resource for managing Benthos pipelines. Once you've got the operator running, you can deploy a Pipeline resource to test it out:

---
apiVersion: captain.benthos.dev/v1alpha1
kind: Pipeline
metadata:
  name: pipeline-sample
spec:
  replicas: 2
  config:
    input:
      generate:
        mapping: root = "woof"
        interval: 5s
        count: 0

    pipeline:
      processors:
        - mapping: root = content().uppercase()

    output:
      stdout: {}

Once the resource is deployed, you can monitor the state of the resoure:

kubectl get pipelines

NAME                     READY   PHASE     REPLICAS   AVAILABLE   AGE
pipeline-sample   true    Running   2          2           62s

Core symbols most depended-on inside this repo

Shape

Method 20
Function 6
Struct 6

Languages

Go100%

Modules by API surface

internal/controller/pipeline_controller.go13 symbols
api/v1alpha1/zz_generated.deepcopy.go10 symbols
api/v1alpha1/pipeline_types.go5 symbols
cmd/main.go2 symbols
internal/pkg/resource/resource.go1 symbols
internal/controller/suite_test.go1 symbols

For agents

$ claude mcp add benthos-captain \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page