Skip to content

Commit

Permalink
Fix Java destination template (airbytehq#25390)
Browse files Browse the repository at this point in the history
The currently generated Java destination code doesn't compile. Fix it
up.
  • Loading branch information
penberg authored and marcosmarxm committed Jun 8, 2023
1 parent cf60211 commit dcb0424
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import io.airbyte.integrations.base.AirbyteMessageConsumer;
import io.airbyte.integrations.base.Destination;
import io.airbyte.integrations.base.IntegrationRunner;
import io.airbyte.protocol.models.AirbyteConnectionStatus;
import io.airbyte.protocol.models.AirbyteMessage;
import io.airbyte.protocol.models.ConfiguredAirbyteCatalog;
import io.airbyte.protocol.models.v0.AirbyteMessage;
import io.airbyte.protocol.models.v0.ConfiguredAirbyteCatalog;
import java.util.function.Consumer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand All @@ -25,15 +25,15 @@ public class {{properCase name}}Destination extends BaseConnector implements Des
}

@Override
public AirbyteConnectionStatus check(JsonNode config) {
public AirbyteConnectionStatus check(JsonNode config) throws Exception {
// TODO
return null;
}

@Override
public AirbyteMessageConsumer getConsumer(JsonNode config,
ConfiguredAirbyteCatalog configuredCatalog,
Consumer<AirbyteMessage> outputRecordCollector) {
Consumer<AirbyteMessage> outputRecordCollector) throws Exception{
// TODO
return null;
}
Expand Down

0 comments on commit dcb0424

Please sign in to comment.