title: Problem with data structures using Hazelcast and Hazelcast Jet
body: <p>I'm having a few problems with jet and hazelcast, but my question is for logic purposes, I have a class which is going to bring all the data and when we start the client we got a queue and 2 maps, but the other map is not called yet, when I start hazelcast jet instance and process all the data when I use the Sink I put this:</p>
  <pre><code>        rulesIntoTransaction.writeTo(Sinks.map(jet.getHazelcastInstance().getMap(RULESRESULT_MAP), Transaction::getTransactionId, Transaction::getRulesResult));
  </code></pre>
  <p>but it's wrong.... I understand when you invoke the instance that's like a getDataStructure for hazelcast, jet its inside hazelcast I thought I could Jet.GetHazelcastInstance().GetDataStrcuture because I need the 3 maps to be synchronized in a new cluster to be wan replicated...</p>
  <p>What are the differences between both frameworks?</p>
  <p>Why can I do hazelcast.GetDataStrcuture(&quot;wololo&quot;); but I can't do jet.getHazelcastInstance.getDataStructure(&quot;wololo&quot;);?</p>
  <p>because to be replicated I need the 3 maps in a different cluster, but I can't do it if 2 of those maps are on hazelcast and the other is on hazelcast jet</p>
  <p>Any hint?</p>