[ 
https://issues.apache.org/jira/browse/STORM-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15036986#comment-15036986
 ] 

ASF GitHub Bot commented on STORM-1086:
---------------------------------------

Github user harshach commented on a diff in the pull request:

    https://github.com/apache/storm/pull/780#discussion_r46500783
  
    --- Diff: 
external/storm-kafka/src/jvm/storm/kafka/FailedMsgRetryManagerFactory.java ---
    @@ -0,0 +1,24 @@
    +/**
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + * http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package storm.kafka;
    +
    +import java.io.Serializable;
    +
    +public interface FailedMsgRetryManagerFactory extends Serializable {
    +    FailedMsgRetryManager construct();
    --- End diff --
    
    can you rename this to build instead of construct.


> Make FailedMsgRetryManager configurable when setting up KafkaSpout
> ------------------------------------------------------------------
>
>                 Key: STORM-1086
>                 URL: https://issues.apache.org/jira/browse/STORM-1086
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-kafka
>            Reporter: Nick Kleinschmidt
>            Assignee: Nick Kleinschmidt
>            Priority: Minor
>
> The FailedMsgRetryManager interface makes replay behavior configurable and we 
> default to using ExponentialBackoffMsgRetryManager, but there's no way to 
> define your own FailedMsgRetryManager and plug it in when setting up 
> KafkaSpout.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to