<modelVersion>4.0.0</modelVersion>
<groupId>org.onap.dmaap.messagerouter.msgrtr</groupId>
<artifactId>msgrtr</artifactId>
- <version>1.1.16-SNAPSHOT</version>
+ <version>1.1.17-SNAPSHOT</version>
<packaging>jar</packaging>
<name>dmaap-messagerouter-msgrtr</name>
<description>Message Router - Restful interface built for kafka</description>
} catch (InterruptedException x) {
log.warn("After size>0, pending msg take() threw InterruptedException. Ignoring. (" + x.getMessage() + ")",
x);
- Thread.currentThread().interrupt();
+ //Thread.currentThread().interrupt();
}
Callable<Boolean> run = new Callable<Boolean>() {
curator.blockUntilConnected();
} catch (InterruptedException e) {
log.error("error while setting curator framework :",e);
- Thread.currentThread().interrupt();
+ //Thread.currentThread().interrupt();
}
}
Thread.sleep(consumerHandoverWaitMs);
} catch (InterruptedException e) {
log.error("InterruptedException in dropTimedOutConsumer",e);
- Thread.currentThread().interrupt();
+ //Thread.currentThread().interrupt();
}
log.info("Dropped " + key + " consumer due to timeout");
}
Thread.sleep(consumerHandoverWaitMs);
} catch (InterruptedException e) {
log.error("InterruptedException in signalOwnership",e);
- Thread.currentThread().interrupt();
+ //Thread.currentThread().interrupt();
}
}
}
} catch (InterruptedException e) {
log.error("Exception "+ e);
- Thread.currentThread().interrupt();
+ //Thread.currentThread().interrupt();
}
}
} catch (InterruptedException e) {
getLog().warn("Possible message loss. " + e.getMessage(), e);
- Thread.currentThread().interrupt();
+ //Thread.currentThread().interrupt();
} catch (IOException e) {
getLog().warn("Possible message loss. " + e.getMessage(), e);
}
// FIXME: would be good to wait/signal
Thread.sleep(100);
} catch (InterruptedException e) {
- Thread.currentThread().interrupt();
+ // Thread.currentThread().interrupt();
}
}
});
}
}
// if headers are not provided then user will be null
- if (topicNameEnforced&&user == null && null != ctx.getRequest().getHeader("Authorization")) {
+ if (topicNameEnforced ||(user == null && null != ctx.getRequest().getHeader("Authorization"))) {
// the topic name will be sent by the client
DMaaPAAFAuthenticator aaf = new DMaaPAAFAuthenticatorImpl();
major=1
minor=1
-patch=16
+patch=17
base_version=${major}.${minor}.${patch}