is it possible for source to pass a callback funct...
# replication-ask-ai
d
is it possible for source to pass a callback function to destination so that destination can call that callback function when write success?
k
Hmm, I don't know enough to give you a confident answer yet. The information provided does not mention the ability for a source to pass a callback function to a destination in Airbyte. However, in Airbyte, the
write
operation is the main workhorse of a destination connector. It reads input data from the source and writes it to the underlying destination. Its output includes data written to the underlying destination and `AirbyteMessage`s of type
AirbyteStateMessage
, written to stdout to indicate which records have been written so far during a sync ([source](https://docs.airbyte.com/connector-development/tutorials/building-a-java-destination)). For more detailed information, you might want to check the Airbyte [documentation](https://docs.airbyte.com/) or ask in the [Airbyte community](https://airbytehq.slack.com).