tet123/debezium-core
REMY David 15fdcb5027 DBZ-2862 Performance optimization
- Changing the traceRecord method to be static. This avoids creating an instance on each call.
- Caching the results of isOpenTelemetryJavaagentEnable() and isOpenTelemetryApiEnable().
- Using isDebugEnabled() to avoid the costs of constructing strings when it's not necessary.
- Reorganizing some conditions to minimize the operations performed.
- Moving the static instances TEXT_MAP_PROPAGATOR, SETTER, and GETTER into the traceRecord method. This will prevent them from being held in memory when not in use.
2023-08-08 21:34:04 +02:00
..
src DBZ-2862 Performance optimization 2023-08-08 21:34:04 +02:00
pom.xml DBZ-2862 Removed reference to Strimzi in comment 2023-08-08 21:34:04 +02:00