backtype.storm.security.serialization
Class BlowfishTupleSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<ListDelegate>
backtype.storm.security.serialization.BlowfishTupleSerializer
public class BlowfishTupleSerializer
- extends com.esotericsoftware.kryo.Serializer<ListDelegate>
Apply Blowfish encrption for tuple communication to bolts
|
Field Summary |
static String |
SECRET_KEY
The secret key (if any) for data encryption by blowfish payload serialization factory (BlowfishSerializationFactory). |
|
Method Summary |
static void |
main(String[] args)
Produce a blowfish key to be used in "Storm jar" command |
ListDelegate |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<ListDelegate> type)
|
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
ListDelegate object)
|
| Methods inherited from class com.esotericsoftware.kryo.Serializer |
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SECRET_KEY
public static String SECRET_KEY
- The secret key (if any) for data encryption by blowfish payload serialization factory (BlowfishSerializationFactory).
You should use in via "storm -c topology.tuple.serializer.blowfish.key=YOURKEY -c topology.tuple.serializer=backtype.storm.security.serialization.BlowfishTupleSerializer jar ...".
BlowfishTupleSerializer
public BlowfishTupleSerializer(com.esotericsoftware.kryo.Kryo kryo,
Map storm_conf)
write
public void write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
ListDelegate object)
- Specified by:
write in class com.esotericsoftware.kryo.Serializer<ListDelegate>
read
public ListDelegate read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<ListDelegate> type)
- Specified by:
read in class com.esotericsoftware.kryo.Serializer<ListDelegate>
main
public static void main(String[] args)
- Produce a blowfish key to be used in "Storm jar" command
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.