[ 
https://issues.apache.org/jira/browse/KAFKA-18619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lianet Magrans updated KAFKA-18619:
-----------------------------------
    Description: 
In the new asyn consumer, application events that require topic metadata should 
overwrite the requireSubscriptionMetadata func defined in the 
CompletableApplicationEvent class (returning false by default). This ensures 
that api calls that trigger those events receive metadata errors that may be 
discovered in the network layer.

We should ensure that AbstractTopicMetadataEvent sets this to true, so that 
topic metadata calls like partitionsFor are aware of metadata errors.

 

This should allow to enable the SaslClientsWithInvalidCredentialsTest that are 
not currently running for the new consumer (and fail with attempting to enable 
them) 

  was:
In the new asyn consumer, application events that require topic metadata should 
overwrite the requireSubscriptionMetadata func defined in the 
CompletableApplicationEvent class (returning false by default). This ensures 
that api calls that trigger those events receive metadata errors that may be 
discovered in the network layer.

We should ensure that AbstractTopicMetadataEvent sets this to true, so that 
topic metadata calls like partitionsFor are aware of metadata errors.


> New consumer topic metadata events should set requireMetadata flag
> ------------------------------------------------------------------
>
>                 Key: KAFKA-18619
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18619
>             Project: Kafka
>          Issue Type: Bug
>          Components: consumer
>            Reporter: Lianet Magrans
>            Assignee: TengYao Chi
>            Priority: Blocker
>              Labels: kip-848-client-support
>             Fix For: 4.0.0
>
>
> In the new asyn consumer, application events that require topic metadata 
> should overwrite the requireSubscriptionMetadata func defined in the 
> CompletableApplicationEvent class (returning false by default). This ensures 
> that api calls that trigger those events receive metadata errors that may be 
> discovered in the network layer.
> We should ensure that AbstractTopicMetadataEvent sets this to true, so that 
> topic metadata calls like partitionsFor are aware of metadata errors.
>  
> This should allow to enable the SaslClientsWithInvalidCredentialsTest that 
> are not currently running for the new consumer (and fail with attempting to 
> enable them) 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to