ULID service

ID generatorulid-service

Lexicographically sortable ids from a millisecond timestamp plus randomness.

Provider
default
Category
Data
Properties · 5 set by this component
propertytypevaluesrequiredkind defaultthis component
batchSizeinteger—no—inherited
centralboolean—nofalse▸ false
clockRollbackGuard · advancedboolean—nofalse▸ false
managedboolean—nofalseinherited
monotonic · component propertyboolean—notrueinherited
replicatedboolean—nofalse▸ false
strategyenumuuid | ulid | snowflake | counter | counter-batched | hashyes—▸ ulid
timeSortableboolean—nofalse▸ true
Rules that apply · 0

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

No rule reads this kind yet. That is a gap, not a guarantee.
Use it in a design
nodes:
  - { id: "ulid-service", component: "ulid-service" }
Other ID generator products · 4
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# ULID generation: 48-bit millisecond timestamp plus randomness, lexicographically sortable;
# monotonic only within the same millisecond, no guard against clock rollback.
schemaVersion: "1"
type: "component"
id: "ulid-service"
kind: "id-generator"
provider: "default"
docs: "https://github.com/ulid/spec"
defaults:
  strategy: "ulid"
  central: false
  replicated: false
  timeSortable: true
  clockRollbackGuard: false
properties:
  monotonic:
    type: "boolean"
    default: true

The same page as markdown, for an agent: /catalogue/components/ulid-service.md