Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Apache Ignite Flink Sink module is a streaming connector to inject Flink data into Ignite cache. The sink emits its input data to Ignite cache. When creating the sink a Ignite cache name and Ignite grid configuration file has to be provided. Starting data transfer to Ignite cache can be done with the following steps. 1. Import Ignite Flink Sink Module in Maven Project If you are using Maven to manage dependencies of your project, you can add Flink module dependency like this (replace '${ignite.version}' with actual Ignite version you are interested in): ... ... org.apache.ignite ignite-flink ${ignite.version} ... ... 2. Create an Ignite configuration file and make sure it is accessible from the sink. 127.0.0.1:47500 3. Make sure your data input to the sink is specified. For example stream.addSink(igniteSinkObject) String TEST_CACHE = "myCache"; long DFLT_STREAMING_EVENT = 10; final String GRID_CONF_FILE = "ignite.xml"; StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment(); env.getConfig().disableSysoutLogging(); IgniteSink igniteSink = null; igniteSink = new IgniteSink(TEST_CACHE, GRID_CONF_FILE); igniteSink.setAllowOverwrite(true); igniteSink.setAutoFlushFrequency(10); igniteSink.start(); DataStream stream = env.addSource(new SourceFunction() { private boolean running = true; @Override public void run(SourceContext ctx) throws Exception { Map testDataMap = new HashMap<>(); long cnt = 0; while (running && (cnt < DFLT_STREAMING_EVENT)) { testDataMap.put(cnt, "ignite-" + cnt); cnt++; } ctx.collect(testDataMap); } @Override public void cancel() { running = false; } }).setParallelism(1); // sink data into the grid. stream.addSink(igniteSink); try { env.execute(); } catch (Exception e){ e.printStackTrace(); } finally { igniteSink.stop(); } Refer to the Javadocs of the ignite-flink module for more info on the available options.