Skip to content

jwtodd/netty-avro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

abstract
--------

prototype work to integrate an avro protocol handler to netty.

note: both the avro and netty clients work with the netty server

contents
--------

avro mail client/server

  # server
  % java -classpath ./libs/avro-1.3.0.jar:./libs/avro-tools-1.3.0.jar:./libs/jackson-mapper-asl-1.4.0.jar:./libs/jackson-core-asl-1.4.0.jar:./libs/netty-3.1.5.GA.jar:./libs/protobuf-java-2.2.0.jar:./libs/slf4j-api-1.5.8.jar:./libs/slf4j-simple-1.5.8.jar:out/production/Netty-avro prototype.avro.Server

  # client
  % java -classpath ./libs/avro-1.3.0.jar:./libs/avro-tools-1.3.0.jar:./libs/jackson-mapper-asl-1.4.0.jar:./libs/jackson-core-asl-1.4.0.jar:./libs/netty-3.1.5.GA.jar:./libs/protobuf-java-2.2.0.jar:./libs/slf4j-api-1.5.8.jar:./libs/slf4j-simple-1.5.8.jar:out/production/Netty-avro prototype.avro.Client 9090 to-tammy from-james message-rocks

netty client/server

  # server
  % java -classpath ./libs/avro-1.3.0.jar:./libs/avro-tools-1.3.0.jar:./libs/jackson-mapper-asl-1.4.0.jar:./libs/jackson-core-asl-1.4.0.jar:./libs/netty-3.1.5.GA.jar:./libs/protobuf-java-2.2.0.jar:./libs/slf4j-api-1.5.8.jar:./libs/slf4j-simple-1.5.8.jar:out/production/Netty-avro prototype.netty.avro.endpoint.Server

  # client
  % java -classpath ./libs/avro-1.3.0.jar:./libs/avro-tools-1.3.0.jar:./libs/jackson-mapper-asl-1.4.0.jar:./libs/jackson-core-asl-1.4.0.jar:./libs/netty-3.1.5.GA.jar:./libs/protobuf-java-2.2.0.jar:./libs/slf4j-api-1.5.8.jar:./libs/slf4j-simple-1.5.8.jar:out/production/Netty-avro  prototype.netty.avro.endpoint.Client localhost 9091 America/New_York Asia/Seoul

todo
----

  move ByteBuffer accumulation down to client/server handler
  refactor avro client
  add post-handshake responder/reflector delegate instantiators
  netty could likely be used for more lower level networking

misc
----

attributions
------------

avro rpc quickstart
netty "local time" example code

About

netty avro integration prototype

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages