Tags: zillow/zkafka
Tags
RMPMP-2110: add circuit breaker lifecycle hooks (#33) ## RMPMP-2110: Add circuit breaker lifecycle hooks - Add `PostCircuitBreakerOpened` and `PostCircuitBreakerClosed` to `LifecycleHooks`, with empty meta structs (`LifecyclePostCircuitBreakerOpened` / `LifecyclePostCircuitBreakerClosed`) so additional fields can be introduced without breaking changes. - Chain the new hooks in `ChainLifecycleHooks`. - Invoke the hooks from the gobreaker `OnStateChange` handler in `Work` factory wiring on transitions to `StateOpen` / `StateClosed`. --------- Co-authored-by: stewartboyd119 <stewartb@zillowgroup.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
rmpmp-2040: upgrade to go 1.26, update dependencies (#32) 1. go1.26 upgrade 2. Updated direct deps 3. Updated golangci to use version 2 (updated github action) 4. Use go fix ./... to modernize codebase (use 1.26 features) --------- Co-authored-by: stewartboyd119 <stewartb@zillowgroup.com>
Bugfix: compatible schemas not properly handled during deserialization ( #25) Forward/Backwards compatible schemas used to produce/consume messages were not being properly deserialized. `Test_SchemaRegistryReal_Avro_AutoRegisterSchemas_OldProducerCanBeConsumedByNewConsumer` and `Test_SchemaRegistryReal_Avro_AutoRegisterSchemas_NewProducerCanBeConsumedByOldConsumer` demonstrated bug. Schema registry aware avro formatter was updated to reconcile the bug. --------- Co-authored-by: stewartboyd119 <stewartb@zillowgroup.com>
Lifecycle bugfix tests added `Test_LifecycleChainedNil*Invocation` (#22) 1. Added supporting tests for bugfix submitted previously 2. Updated `TestMessage_Value` usage to use pointers of slices (testify must have changed implementation. Test complains otherwise) 3. Updated deps 4. Added changelog entry in anticipation of release --------- Co-authored-by: stewartboyd119 <stewartb@zillowgroup.com>
PreviousNext