Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KARAF-5454] - Collector socket - Add UDP protocol support #18

Merged
merged 2 commits into from
Nov 16, 2017

Conversation

fpapon
Copy link
Member

@fpapon fpapon commented Nov 2, 2017

Improve the collector-socket adding compatibility with the UDP protocol.

Use a DatagramServer instead of a ServerSocket for UDP.

Changes :

  • Add a new properties in the collector cfg file to define the protocol :
    #Protocol tcp(default) or udp
    #protocol=tcp

  • Instanciate a DatagramServer in the case of udp protocol is define in the cfg
    class org.apache.karaf.decanter.collector.socket.SocketCollector

@jbonofre
Copy link
Member

jbonofre commented Nov 3, 2017

Thanks. I gonna take a look.

Copy link
Member

@jbonofre jbonofre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also please update the documentation and the default cfg file ?


# Protocol tcp(default) or udp
#protocol=tcp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid to do useless changes (it's just noise in the commit ;)).

@jbonofre
Copy link
Member

Any update about this PR ?

@fpapon
Copy link
Member Author

fpapon commented Nov 14, 2017

Sorry, I check this

PR review fix : clean noise at the end of the default config file
PR review add : update documentation
@apache apache deleted a comment from asfgit Nov 16, 2017
@jbonofre
Copy link
Member

retest this please

@asfgit
Copy link

asfgit commented Nov 16, 2017

FAILURE

--none--

@jbonofre
Copy link
Member

Failure doesn't seem related as it's on the JMS collector. Launching a new build to verify.

@jbonofre
Copy link
Member

retest this please

@asfgit
Copy link

asfgit commented Nov 16, 2017

SUCCESS

--none--

@jbonofre
Copy link
Member

Build is now OK.

Copy link
Member

@jbonofre jbonofre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks. I gonna squash and merge.

@jbonofre jbonofre merged commit dc39ee7 into apache:master Nov 16, 2017
@fpapon fpapon deleted the KARAF-5454 branch November 16, 2017 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants