Tax residency is the single most underestimated issue among long-stayers, so good on you for asking early. The most common trigger worldwide is the 183-day rule: spend more than half the year in a country and you are usually tax resident there.
Becoming tax resident often means the country can tax your worldwide income, not just what you earn locally, though a number of countries tax on a territorial basis or offer special regimes for new arrivals and non-domiciled residents. Meanwhile your home country may still consider you resident under its own rules, which is where double taxation treaties and their tie-breaker tests come in.
Count your days honestly, keep travel records, and read the residency definition on the local tax authority's website. If you are anywhere near the thresholds with meaningful income, one consultation with a cross-border tax adviser is worth far more than it costs.