We reveal and study the topological transition in a metamaterial formed by parallel nanowires of polaritonic material. When the dispersion transits from the elliptic (epsilon-positive) to hyperbolic (epsilon-indefinite) regime, a very specific isofrequency surface arises which implies an extraordinary Purcell factor in spite of noticeable optical losses.