Build Your First Topic
Goal​
Define your first Topic in the Admin UI: choose kind/type, attach a data source, add factors (columns), set indexes, and save.
Prerequisites​
- Admin access to Topic management.
- At least one data source configured (RDS or NoSQL).
1) Open Topic​
- Navigate to
Admin → Topic. - Click
Create Topicto open the standard tuple page.
2) Basic Information​
Name: snake/camel case; becomes table/document name in the data source.Kind:System/Business/Synonym.- Use
Businessfor application data;Systemfor logs/infra data. Synonymmaps an existing external table; structure is fixed, read‑only, RDS only.
- Use
Type:Raw/Meta/Distinct/Aggregation(Aggregate/Time/Ratio).- Start with
Distinctfor instance data (e.g., orders, customers). - Choose
Rawwhen receiving JSON via API and storing immutable events. - Choose
Metafor definitions/reference data used by pipelines.
- Start with
Data Source: pick where the topic will be stored physically.Description: optional.
3) Add Factors​
- Add one row per attribute with:
NameandLabel.Type: pick from built‑in types (Number/Text/Boolean/Date/Time and many domain types).Default Value: optional.Encryption: optional. Use AES/MD5/SHA256 or masking for sensitive fields.
- For
Rawtopics:- Use
Object/Arrayfor hierarchical JSON. - Use dot notation for nested fields (e.g.,
customer.name). - Tick
Flatten Columnon selected nested fields to create searchable columns; index flattened fields.
- Use
4) Indexing​
- Assign
Index Groupfor factors you query by; useUnique Index Groupwhen values must be unique. - In RDS, indexes avoid full table scans and improve pipeline reads on criteria.
5) Enumeration​
- When a factor is
Enum, link it to anEnumerationso UI and DQC know allowed values.
6) Save​
- Validation checklist:
- Topic:
Name,Kind,Type,Data Sourceare required. - Factors: at least one with
NameandType. - For
Raw,Flatten Columnis required on any dot‑name factor you mark as flattened.
- Topic:
- Click
Save.
7) Optional: Generate Scripts​
- Click
Download Scriptsto export creation/alteration scripts for Oracle/MySQL/MSSQL or Liquibase. - Review and version the scripts before executing in your environment.
8) Optional: Build Flatten Topics (from Raw)​
- Click
Build Flatten Topics, choose target distinct topics. - The system generates topics and pipelines to copy data from the Raw topic into Distinct topics.
9) Optional: Import Metadata (Meta)​
- For
Metatopics, download CSV/JSON templates and import data. - Synonym meta cannot import data.
Good Practices​
- Index flattened factors and any criteria used in pipelines.
- Keep names unique within the data source.
- Use
Businesskind for application data;Synonymfor external tables (read‑only). - Encrypt or mask sensitive fields (contact info, IDs, etc.).
- Design topic layers: Raw → Distinct → Aggregation/Meta, and move data via pipelines.
What’s Next​
- Create pipelines for the new topic.
- Build subjects/datasets and reports on top of the topic.