You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Qiang Zhao (JIRA)" <ji...@apache.org> on 2018/04/12 14:18:00 UTC
[jira] [Created] (KAFKA-6784) FindCoordinatorResponse cannot be
cast to FetchResponse
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)