InfluxDB 2 is nearing its release and will ship with a compatibility mode for InfluxDB 1, allowing continued use of the client libraries. However, this mode won't be available yet, so developers can use Telegraf to proxy requests from their applications to InfluxDB 2 without making any code changes. Telegraf provides an input plugin called influxdb_listener that allows it to act as a proxy for InfluxDB 1, and users can configure this plugin to point to their InfluxDB 2 instance. The output plugins are also available, allowing users to write data to InfluxDB 2 without changing any code. Additionally, Telegraf can be used to combi-write to multiple InfluxDB instances, including InfluxDB 1, InfluxDB 2, and InfluxDB Cloud 2, all with no code changes required.