Hi Everyone, I was trying to understand mysql as c...
# ask-community-for-troubleshooting
v
Hi Everyone, I was trying to understand mysql as connector, under the integration runner  i couldn't locate where is the read method defined. https://github.com/airbytehq/airbyte/blob/766ddab895b625d49927d0ed7baa7ad9ae55b607[…]c/main/java/io/airbyte/integrations/base/IntegrationRunner.java Line 107, i could see multiple definitions of read() method, but if someone can point me to the exact definition it would be great. Have  been hustling since days.
s
The right place to start would be the
MySqlSource
class. If you see the main method of
MySqlSource
,
Copy code
public static void main(String[] args) throws Exception {
    final Source source = new MySqlSource();
    <http://LOGGER.info|LOGGER.info>("starting source: {}", MySqlSource.class);
    new IntegrationRunner(source).run(args);
    <http://LOGGER.info|LOGGER.info>("completed source: {}", MySqlSource.class);
  }
You will see that the read method of
MySqlSource
is being triggered.
MySqlSource
extends
AbstractJdbcSource
which further extends
AbstractRelationalDbSource
and thats where the
read
method is present.
👍 1