Guozhang Wang created KAFKA-3261:
------------------------------------
Summary: Consolidate class kafka.cluster.BrokerEndPoint and
kafka.cluster.EndPoint
Key: KAFKA-3261
URL: https://issues.apache.org/jira/browse/KAFKA-3261
Project: Kafka
Issue Type: Bug
Reporter: Guozhang Wang
These two classes are serving similar purposes and can be consolidated. Also we
can remove their "uriParseExp" variable but use
{code}
private static final Pattern HOST_PORT_PATTERN =
Pattern.compile(".*?\\[?([0-9a-zA-Z\\-.:]*)\\]?:([0-9]+)");
{code}
in org.apache.kafka.common.utils.Utils instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)