Search in sources :

Example 21 with StateStore

use of org.apache.pulsar.functions.api.StateStore in project pulsar by apache.

the class InstanceStateManagerTest method testGetStoreNull.

@Test
public void testGetStoreNull() {
    final String fqsn = "t/ns/store";
    StateStore getStore = stateManager.getStore("t", "ns", "store");
    assertNull(getStore);
}
Also used : StateStore(org.apache.pulsar.functions.api.StateStore) Test(org.testng.annotations.Test)

Aggregations

StateStore (org.apache.pulsar.functions.api.StateStore)21 Test (org.testng.annotations.Test)15 HashMap (java.util.HashMap)3 LinkedHashMap (java.util.LinkedHashMap)3 Map (java.util.Map)3 StateStoreContext (org.apache.pulsar.functions.api.StateStoreContext)3 InstanceStateManager (org.apache.pulsar.functions.instance.state.InstanceStateManager)3 StateStoreContextImpl (org.apache.pulsar.functions.instance.state.StateStoreContextImpl)3