private void handleDiscontinueFeedTypeMessage(EndFeedMessage endFeedMessage) throws Exception {
   FeedId sourceFeedId = endFeedMessage.getSourceFeedId();
   SubscribableFeedRuntimeId subscribableRuntimeId =
       new SubscribableFeedRuntimeId(sourceFeedId, FeedRuntimeType.INTAKE, partition);
   ISubscribableRuntime feedRuntime =
       feedManager.getFeedSubscriptionManager().getSubscribableRuntime(subscribableRuntimeId);
   IAdapterRuntimeManager adapterRuntimeManager =
       ((IngestionRuntime) feedRuntime).getAdapterRuntimeManager();
   adapterRuntimeManager.stop();
   if (LOGGER.isLoggable(Level.INFO)) {
     LOGGER.info("Stopped Adapter " + adapterRuntimeManager);
   }
 }