Qiang Zhao created KAFKA-6784:
---------------------------------
Summary: FindCoordinatorResponse cannot be cast to FetchResponse
Key: KAFKA-6784
URL: https://issues.apache.org/jira/browse/KAFKA-6784
Project: Kafka
Issue Type: Bug
Components: clients
Affects Versions: 1.1.0
Reporter: Qiang Zhao
Fix For: 1.2.0
org.apache.kafka.clients.consumer.internals.Fetcher
{code:java}
client.send(fetchTarget, request)
.addListener(new RequestFutureListener<ClientResponse>() {
@Override
public void onSuccess(ClientResponse resp) {
FetchResponse response = (FetchResponse)
resp.responseBody();
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)