You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access the header value when the blocking delivery attempt header is present.
Returns:
1 if there is no header present; the decoded header value otherwise.
Throws:
IllegalStateException – if the header is not present.
See Also:
org.springframework.kafka.listener.ContainerProperties.setDeliveryAttemptHeader(boolean)
Actually, it doesn't return 1, if no header present, it throws IllegalStateException