Github user isper3at commented on a diff in the pull request:

    https://github.com/apache/incubator-rya/pull/296#discussion_r187708536
  
    --- Diff: 
extras/kafka.connect/api/src/main/java/org/apache/rya/kafka/connect/api/sink/RyaSinkTask.java
 ---
    @@ -0,0 +1,144 @@
    +/**
    + * 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.
    + */
    +package org.apache.rya.kafka.connect.api.sink;
    +
    +import static java.util.Objects.requireNonNull;
    +
    +import java.util.Collection;
    +import java.util.Map;
    +import java.util.Set;
    +
    +import org.apache.kafka.clients.consumer.OffsetAndMetadata;
    +import org.apache.kafka.common.TopicPartition;
    +import org.apache.kafka.connect.errors.ConnectException;
    +import org.apache.kafka.connect.sink.SinkRecord;
    +import org.apache.kafka.connect.sink.SinkTask;
    +import org.eclipse.rdf4j.model.Statement;
    +import org.eclipse.rdf4j.repository.sail.SailRepository;
    +import org.eclipse.rdf4j.repository.sail.SailRepositoryConnection;
    +import org.eclipse.rdf4j.sail.Sail;
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
    +
    +import com.jcabi.manifests.Manifests;
    +
    +import edu.umd.cs.findbugs.annotations.DefaultAnnotation;
    +import edu.umd.cs.findbugs.annotations.NonNull;
    +import edu.umd.cs.findbugs.annotations.Nullable;
    +
    +/**
    + * Handles the common components required to write {@link Statement}s to 
Rya.
    + * <p/>
    + * Implementations of this class only need to specify functionality that 
is specific to the
    + * Rya implementation.
    + */
    +@DefaultAnnotation(NonNull.class)
    --- End diff --
    
    maybe I'm not clear what this annotation does, but again, all the fields 
are declared Nullable


---

Reply via email to