Hello community,
Zeebe functions properly when the partition count is more than 1. However, when the partition is set to 1, I face an issue with a message stating “Command ‘CREATE’ rejected with code ‘NOT_FOUND’: Expected to find process definition with process ID {process_id}, but none found [ start-instance-error ]” during an alternate run.
Configuration file for which this is attached below.
---
zeebe:
broker:
gateway:
enable: true
network:
port: 26500
security:
enabled: false
authentication:
mode: none
network:
host: 0.0.0.0
data:
directory: data
logSegmentSize: 128MB
snapshotPeriod: 15m
cluster:
clusterSize: 1
replicationFactor: 1
partitionsCount: 1
threads:
cpuThreadCount: 2
ioThreadCount: 2
exporters:
elasticsearch:
className: io.camunda.zeebe.exporter.ElasticsearchExporter
args:
url: http://{host}:9200
bulk:
delay: 5
size: 1000
memoryLimit: 10485760
retention:
enabled: true
minimumAge: 30d
policyName: zeebe-records-retention-policy
authentication:
username: elastic
password: changeme
index:
prefix: zeebe-record
createTemplate: true
command: false
event: true
rejection: false
commandDistribution: true
decisionRequirements: true
decision: true
decisionEvaluation: true
deployment: true
deploymentDistribution: true
error: true
escalation: true
form: true
incident: true
job: true
jobBatch: false
message: true
messageStartSubscription: true
messageSubscription: true
process: true
processEvent: false
processInstance: true
processInstanceCreation: true
processInstanceMigration: true
processInstanceModification: true
processMessageSubscription: true
resourceDeletion: true
signal: true
signalSubscription: true
timer: true
userTask: true
variable: true
variableDocument: true