code: public static CassandraThriftFacade forSeedsAndPort(String seeds, int defaultPort) {
          final String seed = seeds.contains(",") ? seeds.substring(0, seeds.indexOf(',')) : seeds;
          HostAndPort host = HostAndPort.fromString(seed).withDefaultPort(defaultPort);
          return new CassandraThriftFacade(new TFramedTransport(new TSocket(host.getHostText(), host.getPort())));
      }
docs: Note: <code>seeds</code> may be a single host or comma-delimited list.