Overview
The Data Utility is a no-code stream processing utility that enables you to modify streaming events without writing custom code. It allows you to create new fields, update existing values, remove unnecessary attributes, and restructure JSON payloads as data flows through your Kafka pipeline. Unlike batch data processing, the Data Utility performs transformations on every event as it arrives, allowing downstream applications to consume clean, enriched, and standardized data in real time. The Data Utility is ideal for preparing data before it reaches analytics systems, databases, APIs, or downstream applications.Key Features
Real-Time Data Transformation
Transform streaming events as they flow through the pipeline without introducing additional processing stages.No-Code Configuration
Configure transformations through the Condense UI without writing application code.Field Manipulation
Create, update, rename, or remove fields from incoming JSON events.Data Standardization
Normalize incoming data into a consistent structure before it reaches downstream systems.Pipeline Integration
Deploy directly into existing Condense pipelines alongside connectors, transforms, and other utilities.Live Deployment
Update transformation rules and redeploy without rebuilding applications.How to Use the Data Utility
Prerequisites
Before configuring the Data Utility, ensure that:- You have Admin, Maintainer, or Developer access.
- The input Kafka topic already exists.
- Incoming messages are valid JSON.
- The output topic has been created (or will be created during deployment).
Step 1. Access the Data Utility
- Log in to Condense.
- Open your Workspace.
- Navigate to Transforms.
- Select Data Utility.
Image Placeholder
Step 2. Select the Input Schema
The utility needs the input schema before transformations can be configured.Option A (Recommended): Read from Topic
- Click Choose Topic.
- Select the Kafka topic.
- Condense automatically reads the JSON schema.
Image Placeholder
Option B: Upload JSON
If the topic is unavailable:- Click Upload JSON.
- Upload a sample JSON payload.
- Validate the schema.
The uploaded JSON must match the structure of the incoming events.
Image Placeholder
Step 3. Configure the Utility
Provide the following information.Step 4. Configure Transformations
Create one or more transformation rules. Supported operations include:- Add a new field
- Update an existing field
- Rename a field
- Remove a field
- Copy values between fields
- Apply default values
- Build nested JSON structures
Image Placeholder
Step 5. Validate
Before deployment:- Verify the generated schema.
- Review the output preview.
- Ensure the output topic is correct.
Step 6. Deploy
Click Deploy Utility. After deployment:- The Data Utility becomes part of the active pipeline.
- Incoming events are transformed in real time.
- The transformed events are published to the configured output topic.
Image Placeholder
Editing a Data Utility
- Open Pipelines.
- Select the deployed Data Utility.
- Click Edit Configuration.
- Modify the required transformation rules.
- Click Deploy Utility.
Deleting a Data Utility
- Navigate to Pipelines.
- Select the deployed Data Utility.
- Click Delete Utility.
- Confirm the deletion.
Best Practices
- Keep transformations focused on a single responsibility.
- Use descriptive names for utilities.
- Validate sample payloads before deployment.
- Avoid unnecessary field duplication.
- Standardize payload structures before downstream processing.
- Test transformations in a non-production environment first.
Common Pitfalls
Invalid JSON Schema
Ensure uploaded JSON accurately represents incoming events.Output Topic Conflicts
Do not use the same topic for both input and output unless explicitly supported.Excessive Transformations
Avoid combining unrelated transformations into one utility. Multiple smaller utilities are easier to maintain.Schema Changes
If the input schema changes, review and update transformation rules before redeploying.Frequently Asked Questions
Can the Data Utility modify incoming events?
Yes. It can create, update, rename, remove, and restructure fields before publishing the transformed event.Does the original message change?
No. The original event remains unchanged in the input topic. The transformed event is written to the configured output topic.Can multiple transformations be configured?
Yes. Multiple transformation rules can be applied to a single event during processing.Is coding required?
No. The Data Utility is completely configuration-driven and requires no programming.Can I edit a deployed Data Utility?
Yes. Existing configurations can be updated and redeployed from the Pipelines page.Related Links
- Transforms
- Pipelines
- Applications
- Alert Utility
- Split Utility