ce.</p>
<h2 id="81-the-streamslifecycleinterceptor-interface">8.1 The StreamsLifecycleInterceptor Interface</h2>
<p>The <code>StreamsLifecycleInterceptor</code> interface defines two methods <code>onStart</code> and <code>onStop</code> that are respectively invoked
before the streams instance is started or before is stopped.</p>
<p>You should always take care to call <code>chain.execute()</code> to not break the chain.</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-si