Github user harshach commented on a diff in the pull request:
https://github.com/apache/storm/pull/2215#discussion_r127821694
--- Diff:
external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/SerializableDeserializer.java
---
@@ -16,10 +16,14 @@
package org.apache.storm.kafka.spout;
import java.io.Serializable;
+import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.common.serialization.Deserializer;
/**
* @param <T> The type this deserializer deserializes to.
+ * @deprecated Avoid using this class. Use {@link
KafkaSpoutConfig.Builder#setProp(java.lang.String, java.lang.Object) } with
+ * {@link ConsumerConfig#KEY_DESERIALIZER_CLASS_CONFIG} and {@link
ConsumerConfig#VALUE_DESERIALIZER_CLASS_CONFIG} instead
*/
-public interface SerializableDeserializer<T> extends Deserializer<T>,
Serializable {
+@Deprecated
--- End diff --
why are we adding this back?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---