Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kgo: patch HookFetchRecordUnbuffered
Previously, if a hook implemented both HookFetchRecordBuffered and HookFetchRecordUnbuffered, then HookFetchRecordUnbuffered would never be called. The type switch in this logic would always match the buffered case and never call unbuffered. Reorganizing the conditionals a little bit ensures that the correct hook is always called.
- Loading branch information