日志记录提交

This commit is contained in:
2026-08-05 14:20:04 +08:00
parent 264458920b
commit 06f7f9d2f2
83 changed files with 3256 additions and 27 deletions
+15 -1
View File
@@ -11,7 +11,21 @@ baiyue:
warehouse:
public-tenant-id: ${DEFAULT_TENANT_ID:10001}
openapi.enabled: ${SWAGGER_ENABLED:false}
audit.enabled: true
audit:
enabled: true
endpoint: ${AUDIT_SERVICE_URL:http://audit-service:9700}/internal/audit/events
outbox:
enabled: ${AUDIT_OUTBOX_ENABLED:false}
publisher-enabled: ${AUDIT_OUTBOX_PUBLISHER_ENABLED:false}
batch-size: ${AUDIT_OUTBOX_BATCH_SIZE:50}
lease-seconds: ${AUDIT_OUTBOX_LEASE_SECONDS:60}
max-attempts: ${AUDIT_OUTBOX_MAX_ATTEMPTS:5}
max-compensations: ${AUDIT_OUTBOX_MAX_COMPENSATIONS:2}
compensation-delay-minutes: ${AUDIT_OUTBOX_COMPENSATION_DELAY_MINUTES:30}
retention-days: ${AUDIT_OUTBOX_RETENTION_DAYS:30}
rocketmq:
topic: ${MQ_TOPIC_PREFIX:}baiyue-audit-event-v1
send-timeout-ms: ${AUDIT_MQ_SEND_TIMEOUT_MS:3000}
spring:
jackson:
default-property-inclusion: non_null
+15 -1
View File
@@ -11,7 +11,21 @@ baiyue:
warehouse:
public-tenant-id: ${DEFAULT_TENANT_ID:10001}
openapi.enabled: ${SWAGGER_ENABLED:true}
audit.enabled: true
audit:
enabled: true
endpoint: ${AUDIT_SERVICE_URL:http://127.0.0.1:9700}/internal/audit/events
outbox:
enabled: ${AUDIT_OUTBOX_ENABLED:false}
publisher-enabled: ${AUDIT_OUTBOX_PUBLISHER_ENABLED:false}
batch-size: ${AUDIT_OUTBOX_BATCH_SIZE:50}
lease-seconds: ${AUDIT_OUTBOX_LEASE_SECONDS:60}
max-attempts: ${AUDIT_OUTBOX_MAX_ATTEMPTS:5}
max-compensations: ${AUDIT_OUTBOX_MAX_COMPENSATIONS:2}
compensation-delay-minutes: ${AUDIT_OUTBOX_COMPENSATION_DELAY_MINUTES:30}
retention-days: ${AUDIT_OUTBOX_RETENTION_DAYS:30}
rocketmq:
topic: ${MQ_TOPIC_PREFIX:test-}baiyue-audit-event-v1
send-timeout-ms: ${AUDIT_MQ_SEND_TIMEOUT_MS:3000}
spring:
jackson:
default-property-inclusion: non_null
+1 -1
View File
@@ -11,7 +11,7 @@ firstleg:
allow-rejected-measurement: false
default-pallet-capacity-cbm: ${DEFAULT_PALLET_CAPACITY_CBM:1.200000}
reservation-ttl: ${PALLET_RESERVATION_TTL:30m}
warehouse-resource-tenant-id: ${WAREHOUSE_RESOURCE_TENANT_ID:0}
warehouse-resource-tenant-id: ${WAREHOUSE_RESOURCE_TENANT_ID:10001}
measurement-openapi:
enabled: ${MEASUREMENT_OPENAPI_ENABLED:false}
max-clock-skew: ${MEASUREMENT_OPENAPI_MAX_CLOCK_SKEW:5m}