Before Creating the Enhancement Request
Summary
Implement FastCodesHeader.encode()/decode() for PullMessageRequestHeader and PullMessageResponseHeader to eliminate reflection-based header serialization.
Motivation
PullMessageRequestHeader and PullMessageResponseHeader already implement FastCodesHeader but their decode() methods use Map<String, String> instead of HashMap<String, String>, causing compilation issues with the interface. Additionally, their encode() methods can leverage R1's writeLong/writeInt helpers for numeric fields.
Describe the Solution You'd Like
Fix decode() signatures and optimize encode() methods on:
PullMessageRequestHeader — 15 fields including Long/Integer types
PullMessageResponseHeader — 4 fields
Additional Context
Depends on R1 (#10522, merged). Related PRs: #10443, #10526.
Before Creating the Enhancement Request
Summary
Implement
FastCodesHeader.encode()/decode()forPullMessageRequestHeaderandPullMessageResponseHeaderto eliminate reflection-based header serialization.Motivation
PullMessageRequestHeaderandPullMessageResponseHeaderalready implementFastCodesHeaderbut theirdecode()methods useMap<String, String>instead ofHashMap<String, String>, causing compilation issues with the interface. Additionally, theirencode()methods can leverage R1'swriteLong/writeInthelpers for numeric fields.Describe the Solution You'd Like
Fix
decode()signatures and optimizeencode()methods on:PullMessageRequestHeader— 15 fields including Long/Integer typesPullMessageResponseHeader— 4 fieldsAdditional Context
Depends on R1 (#10522, merged). Related PRs: #10443, #10526.