Brightly colored windsocks in the shape of carp are a common sight in Japan ahead of Children’s Day on May 5. The tradition of flying these koinobori dates back to the Edo period (1603–1868).
This is an ingested summary. Full reporting is available at the primary source below.