Stub
Stub
Configuration
Stub source connector for testing purposes.
Generates deterministic test entities with configurable distribution and speed. No external API calls are made - all content is generated locally.
Authentication
This connector uses a custom authentication configuration.
Stub source authentication credentials schema.
The stub source doesn’t require real authentication. This config is a placeholder for consistency with other sources.
Placeholder field (any value works, stub source doesn’t require real authentication)
Configuration Options
The following configuration options are available for this connector:
Stub source configuration schema for testing.
Configures the generation of deterministic test entities with various content sizes and types. Uses weighted distribution for entity type selection.
Total number of entities to generate
Random seed for reproducible content generation
Delay between entity generations in milliseconds (0 for no delay)
Weight for small entities (~100-200 chars, like comments)
Weight for medium entities (~500-1000 chars, like tasks)
Weight for large entities (~3000-5000 chars, like articles)
Weight for small file entities (~1-5 KB)
Weight for large file entities (~50-100 KB)
Weight for code file entities (~2-10 KB)
Data Models
The following data models are available for this connector:
StubContainerEntity
Container entity for organizing stub entities.
Acts as a parent breadcrumb for all generated stub entities, similar to how projects/workspaces work in real sources.
SmallStubEntity
Small stub entity (~100-200 chars).
Represents: Comments, notes, short messages.
MediumStubEntity
Medium stub entity (~500-1000 chars).
Represents: Tasks, pages, documents.
LargeStubEntity
Large stub entity (~3000-5000 chars).
Represents: Long articles, wikis, rich content.
SmallStubFileEntity
Small stub file entity (~1-5 KB).
Represents: Small text files, CSVs, config files.
LargeStubFileEntity
Large stub file entity (~50-100 KB).
Represents: PDFs, larger documents, reports.
CodeStubFileEntity
Code stub file entity (~2-10 KB).
Represents: Python, JavaScript, and other source code files.