Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Serializing states of multiple and different class types (Stateful bolts)

Highlighted

Serializing states of multiple and different class types (Stateful bolts)

New Contributor

Hello,

I am stuck at the situation with two stateful bolts in my topology and both stateful bolts have the different class for

key , value and serialization logic. 1- As per the docs for STORM-1.0.3 we can give only 1 entry for : topology.state.provider.config

{"keyClass":"Optional fully qualified class name of the Key type.",
"valueClass":"Optional fully qualified class name of the Value type.",
"keySerializerClass":"Optional Key serializer implementation class.",
"valueSerializerClass":"Optional Value Serializer implementation class.",}

2- Also I am unable to find any sample example for writing the custom class for config.

Thanks & Regards,

Anshu Shukla

2 REPLIES 2

Re: Serializing states of multiple and different class types (Stateful bolts)

New Contributor

Re: Serializing states of multiple and different class types (Stateful bolts)

Cloudera Employee

I think @Arun Mahadevan already replied this from Storm dev@ mailing list.

@Arun Mahadevan Would you want to copy your previous answer to the answer as well?

Don't have an account?
Coming from Hortonworks? Activate your account here