Update Nexset
Updating Nexsets in Nexla allows you to modify configuration settings, processing logic, and operational parameters to adapt your data processing workflows to changing requirements and optimize performance.
Nexset Update Overview
Nexset updates enable you to evolve your data processing workflows over time, implementing new business logic, optimizing performance, and adapting to changing data structures and requirements.
Update Nexset Endpoint
To update an existing Nexset:
PUT /nexsets/{nexset_id}
- Nexla API
PUT /nexsets/3001
{
"name": "Enhanced Customer Data Enrichment",
"description": "Enhanced customer data enrichment with additional behavioral analytics",
"transforms": [3001, 3002, 3005],
"config": {
"processing_mode": "streaming",
"batch_size": 2000,
"error_handling": "continue_on_error",
"parallelism": 4
}
}
Update Response
A successful update returns the updated Nexset configuration:
- Nexla API
{
"id": 3001,
"name": "Enhanced Customer Data Enrichment",
"description": "Enhanced customer data enrichment with additional behavioral analytics",
"input_schema_id": 2001,
"output_schema_id": 2002,
"transforms": [3001, 3002, 3005],
"config": {
"processing_mode": "streaming",
"batch_size": 2000,
"error_handling": "continue_on_error",
"parallelism": 4
},
"status": "ACTIVE",
"created_at": "2023-01-15T10:00:00.000Z",
"updated_at": "2023-01-16T15:30:00.000Z",
"owner": {
"id": 42,
"full_name": "John Smith"
}
}
Updateable Fields
Fields that can be modified during Nexset updates:
name: Nexset name and identifierdescription: Detailed description of the Nexsettransforms: Array of transform IDs to applyconfig: Processing configuration and parameterstags: Metadata tags for organizationmetadata: Additional custom metadata
Configuration Updates
Modify processing configuration to optimize performance and behavior.
Processing Mode Updates
Change how the Nexset processes data:
- Streaming Mode: Real-time data processing
- Batch Mode: Batch data processing
- Hybrid Mode: Combination of streaming and batch
Performance Optimization
Optimize processing performance:
- Batch Size: Adjust number of records per batch
- Parallelism: Configure parallel processing threads
- Memory Limits: Set memory allocation limits
- Caching: Configure data caching strategies
Error Handling Updates
Modify error handling behavior:
- Continue on Error: Continue processing despite errors
- Stop on Error: Stop processing when errors occur
- Retry Logic: Implement retry mechanisms
- Error Logging: Configure error logging and reporting
Transform Updates
Modify the transformation logic applied to your data.
Transform Addition
Add new transforms to the processing pipeline:
- Nexla API
PUT /nexsets/3001
{
"transforms": [3001, 3002, 3005, 3006]
}
Transform Removal
Remove transforms from the processing pipeline:
- Nexla API
PUT /nexsets/3001
{
"transforms": [3001, 3002]
}
Transform Reordering
Change the order of transform application:
- Nexla API
PUT /nexsets/3001
{
"transforms": [3002, 3001, 3005]
}
Schema Updates
Modify input and output schemas for your Nexset.
Input Schema Updates
Update the input data structure:
- Nexla API
PUT /nexsets/3001
{
"input_schema_id": 2003
}
Output Schema Updates
Update the output data structure:
- Nexla API
PUT /nexsets/3001
{
"output_schema_id": 2004
}
Partial Updates
Update specific fields without affecting others.
Name and Description Updates
Update basic identification information:
- Nexla API
PUT /nexsets/3001
{
"name": "Updated Customer Enrichment",
"description": "Updated description with new features"
}
Configuration Updates
Update specific configuration parameters:
- Nexla API
PUT /nexsets/3001
{
"config": {
"batch_size": 3000,
"parallelism": 6
}
}
Update Considerations
Important considerations when updating Nexsets.
Impact Assessment
Assess the impact of updates:
- Data Flow Impact: Understand how changes affect data processing
- Performance Impact: Assess performance implications of changes
- Downstream Impact: Consider effects on dependent systems
- Rollback Planning: Plan for potential rollback scenarios
Validation Requirements
Validate updates before deployment:
- Schema Compatibility: Ensure schema changes are compatible
- Transform Validation: Verify transform functionality
- Configuration Validation: Validate configuration parameters
- Integration Testing: Test end-to-end functionality
Update Workflows
Implement structured workflows for effective Nexset updates.
Planning Phase
Plan your Nexset updates:
- Requirement Analysis: Define update requirements and objectives
- Impact Assessment: Assess impact on data processing and downstream systems
- Testing Planning: Plan comprehensive testing of updates
- Rollback Planning: Plan rollback procedures if needed
Implementation Phase
Implement your Nexset updates:
- Configuration Updates: Update Nexset configuration parameters
- Transform Updates: Modify transformation logic and pipeline
- Schema Updates: Update input and output schemas
- Validation Testing: Test update functionality and performance
Deployment Phase
Deploy your Nexset updates:
- Staging Deployment: Deploy updates to staging environment
- Production Deployment: Deploy updates to production environment
- Monitoring: Monitor performance and functionality after deployment
- Verification: Verify that updates meet requirements and objectives
Update Best Practices
To effectively update Nexsets in your Nexla platform:
- Plan Thoroughly: Carefully plan updates and assess impact
- Test Comprehensively: Test updates in development and staging environments
- Monitor Performance: Monitor performance after updates
- Document Changes: Maintain clear documentation of all updates
- Plan Rollbacks: Have rollback procedures ready if needed
Error Handling
Common Nexset update issues and solutions:
- Schema Mismatch: Ensure schema updates are compatible with existing data
- Transform Errors: Verify transform configuration and functionality
- Configuration Issues: Check configuration parameter values and formats
- Permission Denied: Ensure you have appropriate update rights
Related Operations
After updating a Nexset, you may need to:
Validate Updates
POST /nexsets/{nexset_id}/validate
GET /nexsets/{nexset_id}/samples
Test Processing
POST /nexsets/{nexset_id}/test
GET /nexsets/{nexset_id}/metrics
Monitor Performance
GET /nexsets/{nexset_id}/status
GET /nexsets/{nexset_id}/performance
Rollback if Needed
PUT /nexsets/{nexset_id}
# Restore previous configuration