[ 
https://issues.apache.org/jira/browse/CASSANDRA-13855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17796580#comment-17796580
 ] 

Claude Warren commented on CASSANDRA-13855:
-------------------------------------------

The original code simply created a URL, opened it, and read lines from it.  
This implementation does the same.

The changes are those to have it return an InetAddressAndPort.  

It should work for any URL that has a protocol handler.  There is no effort  
made here to limit the use of the protocols.  While some of the earlier 
comments reference HTTP the original code is not limited to HTTP.  I don't 
think there is a reason to restrict the URL to an HTTP protocol.

This soluiton is a dead simple seed provider that can fetch from a URL, just as 
stated in the description.

> URL Seed provider
> -----------------
>
>                 Key: CASSANDRA-13855
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13855
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Legacy/Coordination, Legacy/Core
>            Reporter: Jon Haddad
>            Assignee: Claude Warren
>            Priority: Low
>              Labels: lhf
>             Fix For: 5.x
>
>         Attachments: 0001-Add-URL-Seed-Provider-trunk.txt, signature.asc, 
> signature.asc, signature.asc
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Seems like including a dead simple seed provider that can fetch from a URL, 1 
> line per seed, would be useful.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to