private boolean secure;
private String topic;
private String url;
- private String consumerGroup = "homlesGrounp1";
- private String consumer = "homlesGrounp1";
+ private String consumerGroup = "homlesGroup1";
+ private String consumer = "homles1";
private String authInfo;
private String authExpDate;
private List<String> getDMaaPData() {
Client client = ClientBuilder.newClient(new ClientConfig());
WebTarget webTarget = client.target(url + "/" + consumerGroup + "/" + consumer);
- Response response = webTarget.request().get();
+ Response response = webTarget.queryParam("timeout", timeout).request().get();
return response.readEntity(List.class);
}