public class BlowfishTupleSerializer extends com.esotericsoftware.kryo.Serializer<ListDelegate>
Apply Blowfish encryption for tuple communication to bolts.
Modifier and Type | Field and Description |
---|---|
static String |
SECRET_KEY
The secret key (if any) for data encryption by blowfish payload serialization factory (BlowfishSerializationFactory).
|
Constructor and Description |
---|
BlowfishTupleSerializer(com.esotericsoftware.kryo.Kryo kryo,
Map<String,Object> topoConf) |
Modifier and Type | Method and Description |
---|---|
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) |
public static final 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=org.apache.storm.security.serialization
.BlowfishTupleSerializer
jar ...
public static void main(String[] args)
Produce a blowfish key to be used in “Storm jar” command.
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, ListDelegate object)
write
in class com.esotericsoftware.kryo.Serializer<ListDelegate>
public ListDelegate read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<ListDelegate> type)
read
in class com.esotericsoftware.kryo.Serializer<ListDelegate>
Copyright © 2020 The Apache Software Foundation. All rights reserved.