Back to Vector

Merge existing `tcp` and `udp` sources into a single `socket` source

website/content/en/highlights/2020-01-03-merge-existing-tcp-and-udp-sources-into-a-single-socket-source.md

0.55.0382 B
Original Source

The tcp and udp sources no longer exist and have been merged into a new socket type.

Upgrade Guide

Migration is straight forward, simply change the type to socket and add the field mode to match the socket type (tcp or udp):

diff
 [sources.my_tcp_source]
-  type = "tcp"
+  type = "socket"
   address = "0.0.0.0:9000"
+  mode = "tcp"