Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ All notable changes to this project will be documented in this file.
- Bump stackable-operator to 0.119.0 ([#1029]).
- Bump stackable-operator to 0.121.0 and remove `serde_yaml` ([#1043]).
- All pods now set `securityContext.seccompProfile.type` to `RuntimeDefault` ([#1043]).
- test: Bump vector-aggregator to 0.58.0 ([#1039]).
- Support Vector 0.58.0 ([#1039], [#1044]).
- test: Update OPA to 1.20.2 in integration tests and docs example ([#1042]).

### Fixed
Expand Down Expand Up @@ -91,6 +91,7 @@ All notable changes to this project will be documented in this file.
[#1039]: https://github.com/stackabletech/kafka-operator/pull/1039
[#1042]: https://github.com/stackabletech/kafka-operator/pull/1042
[#1043]: https://github.com/stackabletech/kafka-operator/pull/1043
[#1044]: https://github.com/stackabletech/kafka-operator/pull/1044

## [26.7.0] - 2026-07-21

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
#!/usr/bin/env sh

DATA_DIR=/stackable/log/_vector-state \
LOG_DIR=/stackable/log \
NAMESPACE=default \
CLUSTER_NAME=kafka \
ROLE_NAME=broker \
ROLE_GROUP_NAME=default \
VECTOR_AGGREGATOR_ADDRESS=vector-aggregator \
VECTOR_FILE_LOG_LEVEL=info \
set -eu

export DATA_DIR=/stackable/log/_vector-state
export LOG_DIR=/stackable/log
export NAMESPACE=default
export CLUSTER_NAME=kafka
export ROLE_NAME=broker
export ROLE_GROUP_NAME=default
export VECTOR_AGGREGATOR_ADDRESS=http://vector-aggregator:6000
export VECTOR_FILE_LOG_LEVEL=info

# Required because vector.yaml contains ${...} placeholders
export VECTOR_DANGEROUSLY_ALLOW_ENV_VAR_INTERPOLATION=true

vector validate --no-environment vector.yaml

vector test vector.yaml vector-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ tests:
timestamp: 2025-10-02T09:27:29.473487331Z
outputs:
- extract_from: extended_logs
expected_event_count: 1
conditions:
- type: vrl
source: |
Expand Down Expand Up @@ -56,6 +57,7 @@ tests:
timestamp: 2025-10-02T09:27:29.473487331Z
outputs:
- extract_from: extended_logs
expected_event_count: 1
conditions:
- type: vrl
source: |
Expand Down Expand Up @@ -93,6 +95,7 @@ tests:
version: 0.49.0
outputs:
- extract_from: extended_logs
expected_event_count: 1
conditions:
- type: vrl
source: |
Expand Down Expand Up @@ -121,6 +124,7 @@ tests:
level: INFO
outputs:
- extract_from: filtered_logs_vector
expected_event_count: 1
conditions:
- type: vrl
source: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ transforms:

extended_logs_files:
inputs:
- processed_files_*
- processed_files_log4j
- processed_files_log4j2
type: remap
source: |
del(.source_type)
Expand Down Expand Up @@ -264,7 +265,8 @@ transforms:

extended_logs:
inputs:
- extended_logs_*
- extended_logs_files
- extended_logs_vector
type: remap
source: |
.namespace = "${NAMESPACE}"
Expand All @@ -273,8 +275,13 @@ transforms:
.roleGroup = "${ROLE_GROUP_NAME}"

sinks:
# Forward the logs to the Vector aggregator
aggregator:
inputs:
- extended_logs
type: vector
address: ${VECTOR_AGGREGATOR_ADDRESS}
routing:
endpoints:
- ${VECTOR_AGGREGATOR_ADDRESS}
compression: zstd
keepalive: {}
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ kind: ConfigMap
metadata:
name: kafka-vector-aggregator-discovery
data:
ADDRESS: kafka-vector-aggregator:6123
ADDRESS: http://kafka-vector-aggregator:6123
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ commands:
- script: >-
helm install vector-aggregator vector
--namespace $NAMESPACE
--version 0.45.0
--version 0.58.0 `# app version 0.58.0`
--repo https://helm.vector.dev
--values vector-aggregator-values.yaml
---
Expand All @@ -14,4 +14,4 @@ kind: ConfigMap
metadata:
name: vector-aggregator-discovery
data:
ADDRESS: vector-aggregator:6123
ADDRESS: http://vector-aggregator:6123
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ commands:
- script: >-
helm install kafka-vector-aggregator vector
--namespace $NAMESPACE
--version 0.43.0
--version 0.58.0 `# app version 0.58.0`
Comment thread
siegfriedweber marked this conversation as resolved.
--repo https://helm.vector.dev
--values kafka-vector-aggregator-values.yaml
---
Expand All @@ -14,4 +14,4 @@ kind: ConfigMap
metadata:
name: vector-aggregator-discovery
data:
ADDRESS: kafka-vector-aggregator:6123
ADDRESS: http://kafka-vector-aggregator:6123
13 changes: 10 additions & 3 deletions tests/templates/kuttl/smoke/34-assert.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,8 @@ commands:

extended_logs_files:
inputs:
- processed_files_*
- processed_files_log4j
- processed_files_log4j2
type: remap
source: |
del(.source_type)
Expand Down Expand Up @@ -366,7 +367,8 @@ commands:

extended_logs:
inputs:
- extended_logs_*
- extended_logs_files
- extended_logs_vector
type: remap
source: |
.namespace = "${NAMESPACE}"
Expand All @@ -375,11 +377,16 @@ commands:
.roleGroup = "${ROLE_GROUP_NAME}"

sinks:
# Forward the logs to the Vector aggregator
aggregator:
inputs:
- extended_logs
type: vector
address: ${VECTOR_AGGREGATOR_ADDRESS}
routing:
endpoints:
- ${VECTOR_AGGREGATOR_ADDRESS}
compression: zstd
keepalive: {}
{% endif %}
YAMLEOF
)
Expand Down
Loading