public class BlowfishTupleSerializer extends com.esotericsoftware.kryo.Serializer<ListDelegate>
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
```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)
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 © 2023 The Apache Software Foundation. All rights reserved.